app/photos: extend tsconfig.base.json

This commit is contained in:
Neeraj Gupta 2023-05-29 04:31:59 +05:30
parent 9aedbacbce
commit 1e9384478e
3 changed files with 30 additions and 34 deletions

View file

@ -1,7 +1,32 @@
{
"extends": "@ente/tsconfig/ente.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./src"
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"strictBindCallApply": false,
"strictNullChecks": false,
"strictPropertyInitialization": false,
"noImplicitAny": false,
"useUnknownInCatchVariables": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": "./src",
"downlevelIteration": true,
"jsxImportSource": "@emotion/react",
"incremental": true,
"noUnusedLocals": false,
// "allowSyntheticDefaultImports": false,
"noFallthroughCasesInSwitch": false,
"noUnusedParameters": false
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
"exclude": ["node_modules", "out", ".next", "thirdparty"]

View file

@ -19,9 +19,8 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "es2021",
"types": ["webpack-env"]
"target": "es2021"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
"exclude": ["node_modules", "out", ".next", "thirdparty"]
"exclude": ["**/node_modules", "**/.*/"]
}

View file

@ -1,28 +0,0 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"strictBindCallApply": false,
"strictNullChecks": false,
"strictPropertyInitialization": false,
"noImplicitAny": false,
"useUnknownInCatchVariables": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": "./src",
"downlevelIteration": true,
"jsxImportSource": "@emotion/react",
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
"exclude": ["node_modules", "out", ".next", "thirdparty"]
}