import { metadata } from '../constants' ; import { ModuleOptions } from '../interfaces' ; export const Module = ( options = { } ) => target => { Reflect . defineMetadata ( metadata . MODULE_PROVIDERS_IDENTIFIER , options . providers , target ) ; return target ; } ;