Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 6ade4c2

Browse files
committed
fix: add support for @angular/core/types/core.d.ts path
1 parent 774ef05 commit 6ade4c2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server/src/session.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,11 @@ function isAngularCore(path: string): boolean {
14991499
}
15001500

15011501
function isExternalAngularCore(path: string): boolean {
1502-
return path.endsWith('@angular/core/core.d.ts') || path.endsWith('@angular/core/index.d.ts');
1502+
return (
1503+
path.endsWith('@angular/core/core.d.ts') ||
1504+
path.endsWith('@angular/core/index.d.ts') ||
1505+
path.endsWith('@angular/core/types/core.d.ts')
1506+
);
15031507
}
15041508

15051509
function isInternalAngularCore(path: string): boolean {

0 commit comments

Comments
 (0)