import 'reflect-metadata' ; import { metadataOfInjectable } from '../core' ; export param { Function } _constructor export function injected ( _constructor ) { const paramsTypes = Reflect . getMetadata ( 'design:paramtypes' , _constructor ) ; if ( paramsTypes && paramsTypes . length ) Reflect . defineMetadata ( metadataOfInjectable , paramsTypes , _constructor ) ; }