Set up TypeScript for lib

Add a TypeScript build suitable for incremental migration to TypeScript
to the lib package.
This commit is contained in:
Hornwitser committed 2023-08-03 15:01:34 +02:00
1 parent a1ee147c46
commit 90798205e0
16 files changed
+115 -151

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
{
"include": ["index.ts", "build_mod.js", "src/**/*.ts", "src/**/*.js"],
"compilerOptions": {
"lib": ["es2023"],
"module": "commonjs",
"target": "es2022",
"rootDir": ".",
"outDir": "dist",
"composite": false,
"strict": false,
"alwaysStrict": true,
"allowJs": true,
"checkJs": false,
"noEmitOnError": false,
"esModuleInterop": true,
"skipLibCheck": true
}
}