import { metadata } from '../constants' ; export const Injectable = ( ) => target => { const types = Reflect . getMetadata ( metadata . DESIGN_PARAM_TYPES , target ) ; Reflect . defineMetadata ( metadata . HOST_PARAM_TYPES , types , target ) ; return target ; } ;