mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 00:34:47 -05:00
Use string literal type for script kind names
This commit is contained in:
4
src/server/protocol.d.ts
vendored
4
src/server/protocol.d.ts
vendored
@@ -520,9 +520,9 @@ declare namespace ts.server.protocol {
|
||||
fileContent?: string;
|
||||
/**
|
||||
* Used to specify the script kind of the file explicitly. It could be one of the following:
|
||||
* ".ts", ".js", ".tsx", ".jsx"
|
||||
* "TS", "JS", "TSX", "JSX"
|
||||
*/
|
||||
scriptKindName?: string;
|
||||
scriptKindName?: "TS" | "JS" | "TSX" | "JSX";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user