Merge pull request #36063 from uniqueiniquity/addWeakCompletionProperty

Add completion property to identify completions from unchecked files
This commit is contained in:
Ben Lichtman authored and GitHub committed 2020-01-28 13:53:47 -08:00
commit e87b2e3506
9 files changed
+54 -4

No files matched your search

+5
View File
@@ -2121,6 +2121,11 @@ namespace ts.server.protocol {
* Then either that enum/class or a namespace containing it will be the recommended symbol.
*/
isRecommended?: true;
/**
* If true, this completion was generated from traversing the name table of an unchecked JS file,
* and therefore may not be accurate.
*/
isFromUncheckedFile?: true;
}
/**