UNPKG

@sustain/core

Version:

Sustain is a Framework that is barely used despedcies to make stable and sustainable apps

16 lines (13 loc) 378 B
import 'reflect-metadata'; function createAppDecorator(): Function { return (config: any = '') => { return function (constructorFunction: Function) { constructorFunction.prototype.MODULE_CONFIG = config; constructorFunction.prototype.injectable = true; }; }; } /** * Create a @Get decorator */ export const App = createAppDecorator();