(decorator: any, flag: InternalInjectFlags | DecoratorFlags)
| 372 | * @param flag InjectFlag that should be applied. |
| 373 | */ |
| 374 | export function attachInjectFlag(decorator: any, flag: InternalInjectFlags | DecoratorFlags): any { |
| 375 | decorator[DI_DECORATOR_FLAG] = flag; |
| 376 | decorator.prototype[DI_DECORATOR_FLAG] = flag; |
| 377 | return decorator; |
| 378 | } |
| 379 | |
| 380 | /** |
| 381 | * Reads monkey-patched property that contains InjectFlag attached to a decorator. |
no outgoing calls
no test coverage detected
searching dependent graphs…