Skip to content

Commit 256d1aa

Browse files
fix(@nestjs/core) token factory bugfix
1 parent 1474109 commit 256d1aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/injector/module-token-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class ModuleTokenFactory {
66
public create(
77
metatype: NestModuleMetatype,
88
scope: NestModuleMetatype[],
9-
dynamicModuleMetadata: Partial<DynamicModule> | undefined,
9+
dynamicModuleMetadata: Partial<DynamicModule> | undefined = undefined,
1010
) {
1111
const reflectedScope = this.reflectScope(metatype);
1212
const isSingleScoped = reflectedScope === true;

0 commit comments

Comments
 (0)