( identifier?: ObjectIdentifier )
| 110 | } |
| 111 | |
| 112 | export function Inject( |
| 113 | identifier?: ObjectIdentifier |
| 114 | ): PropertyDecorator & ParameterDecorator { |
| 115 | return function (target: any, targetKey: string, parameterIndex?: number) { |
| 116 | return saveInjectMetadata( |
| 117 | identifier, |
| 118 | target, |
| 119 | targetKey, |
| 120 | false, |
| 121 | parameterIndex |
| 122 | ); |
| 123 | }; |
| 124 | } |
| 125 | |
| 126 | export function LazyInject( |
| 127 | identifier?: ObjectIdentifier | (() => ObjectIdentifier | ClassType) |