()
| 18 | * @since 2.0.0 |
| 19 | */ |
| 20 | export function Framework(): ClassDecorator { |
| 21 | return (target: any) => { |
| 22 | DecoratorManager.saveModule(FRAMEWORK_KEY, target); |
| 23 | Scope(ScopeEnum.Singleton)(target); |
| 24 | Provide()(target); |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Plugin decorator, use to get egg plugin instance |
no test coverage detected