mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
817819d7a1
* fix types * fail CI when typechecking fails * maybe fix * more fix * remove all rferences to theme * fix login
35 lines
801 B
JSON
35 lines
801 B
JSON
{
|
|
"compilerOptions": {
|
|
"moduleResolution": "node",
|
|
"module": "es2020",
|
|
"lib": ["es2020", "DOM"],
|
|
"target": "es2020",
|
|
/**
|
|
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
|
to enforce using \`import type\` instead of \`import\` for Types.
|
|
*/
|
|
"importsNotUsedAsValues": "error",
|
|
"isolatedModules": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"baseUrl": ".",
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"outDir": "dist"
|
|
},
|
|
"exclude": [
|
|
"**/dist/**/*",
|
|
"**/public/**/*",
|
|
"**/*.config.js",
|
|
"dist",
|
|
|
|
"**/workbench/**/*",
|
|
"**/Plot.svelte"
|
|
],
|
|
"include": ["**/*.d.ts", "**/*.js", "**/*.ts", "**/*.svelte"]
|
|
}
|