fix: lint

This commit is contained in:
imccyu
2026-07-14 23:44:48 +08:00
parent c67c3d9413
commit b734567cc0
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -13,10 +13,10 @@ interface ProjectGraph {
const configHost: ts.ParseConfigFileHost = {
useCaseSensitiveFileNames: ts.sys.useCaseSensitiveFileNames,
readDirectory: ts.sys.readDirectory,
fileExists: ts.sys.fileExists,
readFile: ts.sys.readFile,
getCurrentDirectory: ts.sys.getCurrentDirectory,
readDirectory: (...args) => ts.sys.readDirectory(...args),
fileExists: fileName => ts.sys.fileExists(fileName),
readFile: fileName => ts.sys.readFile(fileName),
getCurrentDirectory: () => ts.sys.getCurrentDirectory(),
onUnRecoverableConfigFileDiagnostic(diagnostic) {
throw new Error(ts.flattenDiagnosticMessageText(diagnostic.messageText, '\n'))
},