import { Decorator } from "../.." ; export class DecoratorUtils { example example example param a param list returns static getLinkedObjects < Type extends Decorator > ( a , list ) { return list . filter ( ( b ) => { let cond = a . from === b . from && a . key === b . key ; if ( a . index !== undefined && b . index !== undefined ) { cond &&= a . index === b . index ; } return cond ; } ) ; } static decorateAClass ( method ? ) { return ! method ?. value ; } }