Skip to content

Commit

Permalink
chore(typescript): correct syntax only script version
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Apr 25, 2024
1 parent 75c5472 commit cd3360b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript/lib/syntaxOnlyService.ts
Expand Up @@ -12,9 +12,9 @@ export function createSyntaxOnlyService(ts: typeof import('typescript'), syntaxO
const host: ts.LanguageServiceHost = {
getProjectVersion: () => currentProjectVersion.toString(),
getScriptFileNames: () => fileNames,
getScriptVersion: () => currentProjectVersion.toString(),
getScriptSnapshot: fileName => scriptInfos.get(fileName)!.snapshot,
getScriptKind: fileName => scriptInfos.get(fileName)!.kind,
getScriptVersion: fileName => scriptInfos.get(fileName)!.version.toString(),
getCompilationSettings: () => ({}),
getCurrentDirectory: () => '',
getDefaultLibFileName: () => '',
Expand Down

0 comments on commit cd3360b

Please sign in to comment.