1 2 3 4 5 6 7 8 9 10 11 | 1x 1x 2x 2x | import { GLOBAL_MODULE_METADATA } from '../../constants'; /** * Makes the module global-scoped. * Once imported will be available for all existing modules. */ export function Global(): ClassDecorator { return (target: any) => { Reflect.defineMetadata(GLOBAL_MODULE_METADATA, true, target); }; } |