fix(language-service): do not return external template that does not … · angular/angular@6b6fcd7 · GitHub
Skip to content

Commit 6b6fcd7

Browse files
kyliaumhevery
authored andcommitted
fix(language-service): do not return external template that does not exist (#39898)
There is a bug in tsserver that causes it to crash when it tries to create script info for an external template that does not exist. I've submitted an upstream PR microsoft/TypeScript#41737 to fix this, but before the commit lands in the stable release, we'll have to workaround the issue in language service. Close angular/vscode-ng-language-service#1001 PR Close #39898
1 parent 3680ad1 commit 6b6fcd7

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

packages/language-service/src/ts_plugin.ts

Lines changed: 10 additions & 2 deletions

packages/language-service/test/ts_plugin_spec.ts

Lines changed: 7 additions & 0 deletions

0 commit comments

Comments
 (0)