drinkable icon indicating copy to clipboard operation
drinkable copied to clipboard

Use tsconfig strict mode

Open anton-gustafsson opened this issue 1 year ago • 0 comments

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"]
}

anton-gustafsson avatar Dec 21 '23 21:12 anton-gustafsson