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 authored and Wesley Wigham committed 2019-03-12 13:14:47 -07:00
1 parent b15e64feba
commit bd27296ba6
6 files changed
+297 -5

No files matched your search

+1 -1
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,