improve stripInternal with inline comments (#23611)

* improve stripInternal with inline comments

* fix lint

* stash

* simptify StripInternal

* fix internal type declaration

* fix internal type declaration again

* accept baseline

* refactor inline

* simply prev check

* remove getTrailingCommentRangesOfNode

* Merge implementation with new isInternalDeclaration method, accept lkg-based baseline
This commit is contained in:
Wenlu Wang
2019-03-13 04:14:47 +08:00
committed by Wesley Wigham
parent b15e64feba
commit bd27296ba6
6 changed files with 297 additions and 5 deletions

View File

@@ -221,7 +221,7 @@ namespace ts.server {
/*@internal*/
constructor(
readonly projectName: string,
/*@internal*/ readonly projectName: string,
readonly projectKind: ProjectKind,
readonly projectService: ProjectService,
private documentRegistry: DocumentRegistry,