drinkable
drinkable copied to clipboard
Use tsconfig strict mode
Uncomment strict and fix all the errors
{
"compileOnSave": false,
"compilerOptions": {
"module": "ESNext",
"skipLibCheck": true,
"removeComments": true,
"resolveJsonModule": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
"target": "ES2020",
"moduleResolution": "node",
"baseUrl": "src",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// "strict": true,
"noUncheckedIndexedAccess": true
},
"include": ["src", "tests", "capacitor.config.ts", "jest.config.ts", "cypress.config.ts"]
}