(instances: any[])
| 185 | return new Promise<T>(async (resolve, reject) => { |
| 186 | try { |
| 187 | const callback = async (instances: any[]) => { |
| 188 | const properties = await this.injector.resolveProperties( |
| 189 | wrapper, |
| 190 | moduleRef, |
| 191 | undefined, |
| 192 | { |
| 193 | contextId: contextId ?? STATIC_CONTEXT, |
| 194 | inquirer: wrapper, |
| 195 | }, |
| 196 | ); |
| 197 | const instance = new type(...instances); |
| 198 | this.injector.applyProperties(instance, properties); |
| 199 | resolve(instance); |
| 200 | }; |
| 201 | await this.injector.resolveConstructorParams<T>( |
| 202 | wrapper, |
| 203 | moduleRef, |
no test coverage detected