Skip to content

Instantly share code, notes, and snippets.

@emekaorji
Last active December 16, 2023 07:29

Revisions

  1. emekaorji revised this gist Dec 16, 2023. 1 changed file with 0 additions and 6 deletions.
    6 changes: 0 additions & 6 deletions tsconfig.json
    Original file line number Diff line number Diff line change
    @@ -13,12 +13,6 @@
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",

    /* Linting */
    "strict": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "noFallthroughCasesInSwitch": false
    },
    "include": ["src"],
    "references": [{ "path": "./tsconfig.node.json" }]
  2. emekaorji created this gist Dec 15, 2023.
    25 changes: 25 additions & 0 deletions tsconfig.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    {
    "compilerOptions": {
    "target": "ES2020",
    "useDefineForClassFields": true,
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,

    /* Bundler mode */
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",

    /* Linting */
    "strict": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "noFallthroughCasesInSwitch": false
    },
    "include": ["src"],
    "references": [{ "path": "./tsconfig.node.json" }]
    }