Replace js by ts
This commit is contained in:
27
src-tauri/tsconfig.json
Normal file
27
src-tauri/tsconfig.json
Normal 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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user