mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
2bcc46c338
* chore(typescript): enable isolatedModules * chore(frontend): fix ts errors related to isolated modules
30 lines
781 B
JSON
30 lines
781 B
JSON
{
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"baseUrl": "public/",
|
|
"outDir": "public/dist",
|
|
"rootDirs": ["public/"],
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"resolveJsonModule": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
|
|
"paths": {
|
|
"@grafana/schema/dist/esm/*": ["../packages/grafana-schema/src/*"]
|
|
}
|
|
},
|
|
"extends": "@grafana/tsconfig/base.json",
|
|
"include": [
|
|
"public/app/**/*.ts*",
|
|
"public/swagger/**/*.ts*",
|
|
"public/e2e-test/**/*.ts",
|
|
"public/test/**/*.ts*",
|
|
"public/vendor/**/*.ts",
|
|
"packages/grafana-data/typings",
|
|
"packages/grafana-ui/src/types"
|
|
],
|
|
"exclude": ["public/app/**/webpack.config.ts"]
|
|
}
|