feat(language-service): [ivy] wrap ngtsc to handle typecheck files (#36930)

This commit adds a Compiler interface that wraps the actual ngtsc
compiler. The language-service specific compiler manages multiple
typecheck files using the Project interface, creating and adding
ScriptInfos as necessary.

This commit also adds `overrideInlineTemplate()` method to the mock
service so that we could test the Compiler diagnostics feature.

PR Close #36930
This commit is contained in:
Keen Yee Liau
2020-04-30 15:48:20 -07:00
committed by Misko Hevery
parent 82a3bd5e8b
commit 1142c378fd
9 changed files with 333 additions and 16 deletions

View File

@ -0,0 +1,2 @@
All files in this directory are temporary. This is created to simulate the final
form of the Ivy compiler that supports language service.