We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27093a7 commit 80d6475Copy full SHA for 80d6475
packages/compiler-cli/src/ngtsc/scope/src/dependency.ts
@@ -139,12 +139,9 @@ export class MetadataDtsModuleScopeResolver implements DtsModuleScopeResolver {
139
return dirOrPipe;
140
}
141
142
- // TypeScript incorrectly narrows the type here:
143
- // https://github.com/microsoft/TypeScript/issues/43966.
144
- // TODO: Remove/Update once https://github.com/microsoft/TypeScript/issues/43966 is resolved.
145
return {
146
...dirOrPipe,
147
ref: ref.cloneWithAlias(alias),
148
- } as T;
+ };
149
150
0 commit comments