git.delta.rocks / unique-network / refs/commits / ade4bc204310

difftreelog

source

js-packages/tsconfig.base.json1.2 KiBsourcehistory
1{2    /**3     * There uses the strictest configs as the base4     * https://github.com/tsconfig/bases/blob/f674fa6cbca17062ff02511b02872f8729a597ec/bases/strictest.json5     */6    "extends": "@tsconfig/strictest/tsconfig.json",7    "compilerOptions": {8      /**9       * This needs to align with scripts/polkadot-dev-build-ts & dev-ts/loader10       * (target here is specifically tied to the minimum supported version)11       */12      "module": "nodenext",13      "moduleResolution": "nodenext",14      "target": "es2022",15  16      /**17       * Specific compilation configs for polkadot-js projects as it is used18       * (we only compile *.d.ts via the tsc command-line)19       */20      "declaration": true,21      "emitDeclarationOnly": true,22      "jsx": "preserve",23      "verbatimModuleSyntax": true,24  25      /**26       * These appear in strictest, however we don't (yet) use them. For the most part it means27       * that we actually do have a large number of these lurking (especially on index checks)28       */29      "checkJs": false,30      "exactOptionalPropertyTypes": false,31      "noPropertyAccessFromIndexSignature": false,32      "noUncheckedIndexedAccess": false,33    }34  }