import { getMetadataStorage } from '../metadata' ; export returns { MethodDecorator } export function AfterProvided ( ) { return ( prototype , propertyKey , descriptor ? ) => { if ( descriptor === undefined ) { descriptor = Object . getOwnPropertyDescriptor ( prototype , propertyKey ) ! ; } getMetadataStorage ( ) . collectPostProvided ( { name : propertyKey , target : prototype . constructor , descriptor , } ) ; return descriptor ; } ; }