We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c12c3b commit 1d9dd18Copy full SHA for 1d9dd18
1 file changed
src/core/nest-factory.ts
@@ -33,9 +33,16 @@ export class NestFactoryStatic {
33
* Creates an instance of the NestApplication (returns Promise)
34
* @returns an `Promise` of the INestApplication instance
35
*/
36
- public async create(module: any);
37
- public async create(module: any, options: NestApplicationOptions);
38
- public async create(module: any, express: any, options: NestApplicationOptions);
+ public async create(module: any): Promise<INestApplication>;
+ public async create(
+ module: any,
39
+ options: NestApplicationOptions,
40
+ ): Promise<INestApplication>;
41
42
43
+ express: any,
44
45
46
public async create(
47
module: any,
48
expressOrOptions?: any,
0 commit comments