Merge pull request #36063 from uniqueiniquity/addWeakCompletionProperty

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

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;
}
/**