mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
Make isDynamicFileName available publicly (#38269)
* Make isDynamicFileName available publicly This commit fixes #37987 * Acknowledge Public APIs
This commit is contained in:
@@ -270,7 +270,6 @@ namespace ts.server {
|
||||
}
|
||||
}
|
||||
|
||||
/*@internal*/
|
||||
export function isDynamicFileName(fileName: NormalizedPath) {
|
||||
return fileName[0] === "^" ||
|
||||
((stringContains(fileName, "walkThroughSnippet:/") || stringContains(fileName, "untitled:/")) &&
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user