Make isDynamicFileName available publicly (#38269)

* Make isDynamicFileName available publicly

This commit fixes #37987

* Acknowledge Public APIs
This commit is contained in:
Manuel Thalmann
2020-05-08 16:31:59 +02:00
committed by GitHub
parent 7ac641d6a4
commit cbc959ba35
2 changed files with 1 additions and 1 deletions

View File

@@ -270,7 +270,6 @@ namespace ts.server {
}
}
/*@internal*/
export function isDynamicFileName(fileName: NormalizedPath) {
return fileName[0] === "^" ||
((stringContains(fileName, "walkThroughSnippet:/") || stringContains(fileName, "untitled:/")) &&

View File

@@ -8784,6 +8784,7 @@ declare namespace ts.server {
svc: number;
text: number;
}
function isDynamicFileName(fileName: NormalizedPath): boolean;
class ScriptInfo {
private readonly host;
readonly fileName: NormalizedPath;