mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 03:23:51 -05:00
Start Typescript inception (#816)
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
{
|
||||
"references": [
|
||||
// TODO: enable once every project is ts
|
||||
// { "path": "./packages/api" },
|
||||
// { "path": "./packages/desktop-client" }
|
||||
],
|
||||
"compilerOptions": {
|
||||
// "composite": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2021", "DOM"],
|
||||
"lib": ["ES2021", "DOM", "DOM.Iterable"],
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"resolveJsonModule": true,
|
||||
"downlevelIteration": true,
|
||||
// TODO: enable once every file is ts
|
||||
// "strict": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"skipLibCheck": true,
|
||||
"jsx": "preserve",
|
||||
// Check JS files too
|
||||
"allowJs": true,
|
||||
@@ -14,7 +24,10 @@
|
||||
// Used for temp builds
|
||||
"outDir": "build",
|
||||
"moduleResolution": "Node",
|
||||
"module": "ESNext"
|
||||
"module": "ESNext",
|
||||
// Until/if we build using tsc
|
||||
"noEmit": true
|
||||
},
|
||||
"include": ["packages/**/*"],
|
||||
"exclude": ["**/node_modules/*", "**/build/*", "**/lib-dist/*"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user