Make isDynamicFileName available publicly (#38269)

* Make isDynamicFileName available publicly

This commit fixes #37987

* Acknowledge Public APIs
This commit is contained in:
Manuel Thalmann authored and GitHub committed 2020-05-08 07:31:59 -07:00
1 parent 7ac641d6a4
commit cbc959ba35
2 files changed
+1 -1

No files matched your search

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