Skip to content

Commit 146ac0e

Browse files
committedJan 15, 2024
adjust to types
1 parent dbd6955 commit 146ac0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/environment-base.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ export default class EnvironmentBase extends EventEmitter implements BaseEnviron
634634
namespace = customizeNamespace(asNamespace(resolved, { lookups }));
635635
}
636636

637+
namespace = namespace!;
637638
if (registerToScope && !namespace.startsWith('@')) {
638639
namespace = `@${registerToScope}/${namespace}`;
639640
}
@@ -652,7 +653,7 @@ export default class EnvironmentBase extends EventEmitter implements BaseEnviron
652653

653654
generators.push({
654655
resolved: filePath,
655-
namespace,
656+
namespace: namespace!,
656657
packagePath,
657658
registered: false,
658659
});

0 commit comments

Comments
 (0)
Please sign in to comment.