mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Use string literal type for script kind names
This commit is contained in:
1 parent
a2035a572e
commit
cc58e2d7eb
5 files changed
+9
-9
No files matched your search
@@ -496,7 +496,7 @@ namespace Harness.LanguageService {
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
openFile(fileName: string, content?: string, scriptKindName?: string): void {
|
||||
openFile(fileName: string, content?: string, scriptKindName?: "TS" | "JS" | "TSX" | "JSX"): void {
|
||||
super.openFile(fileName, content, scriptKindName);
|
||||
this.client.openFile(fileName, content, scriptKindName);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user