Replace js by ts

This commit is contained in:
2026-04-01 01:27:51 +02:00
parent 4613b8e5dd
commit 6306c73f26
291 changed files with 501210 additions and 525 deletions

27
src-tauri/tsconfig.json Normal file
View File

@@ -0,0 +1,27 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"outDir": "dist",
"rootDir": "assets/viewer",
"sourceMap": true,
"inlineSources": true,
"declaration": false,
"removeComments": false,
"noEmitOnError": true,
"allowJs": false,
"checkJs": false
},
"include": [
"assets/viewer/**/*.ts"
],
"exclude": [
"**/*.min.js",
"pdfjs/**/*",
"node_modules"
]
}