From fa66cb3a652dda59f86b97d56a6420a77e2daa4e Mon Sep 17 00:00:00 2001 From: "Eliott C." Date: Wed, 27 Nov 2024 13:12:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20TS=20checking=20on=20tasks?= =?UTF-8?q?-gen=20(#1051)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not sure why, it doesn't work since https://github.com/huggingface/huggingface.js/pull/1046 --- packages/tasks-gen/tsconfig.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/tasks-gen/tsconfig.json diff --git a/packages/tasks-gen/tsconfig.json b/packages/tasks-gen/tsconfig.json new file mode 100644 index 000000000..b4441ee9b --- /dev/null +++ b/packages/tasks-gen/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "lib": ["ES2022", "DOM"], + "module": "NodeNext", + "target": "ESNext", + "moduleResolution": "nodenext", + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, + "skipLibCheck": true, + "noImplicitOverride": true, + "outDir": "./dist", + "declaration": true, + "declarationMap": true, + "types": ["vitest/importMeta"] + }, + "include": ["scripts"], + "exclude": ["dist"] +}