{
  "$schema": "https://json.schemastore.org/tsconfig",
  "compilerOptions": {
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "resolveJsonModule": true,
    "skipLibCheck": true,
    "strict": true,

    // FIXME(bajtos) LB4 is not compatible with this setting yet
    "strictPropertyInitialization": false,

    // https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#use-unknown-catch-variables
    "useUnknownInCatchVariables": false,

    "incremental": true,

    // TypeScript 6 no longer includes every `@types/*` package automatically,
    // ambient type packages have to be listed explicitly.
    "types": ["node", "mocha"],

    "lib": ["es2020"],
    "module": "commonjs",
    // The TypeScript 6+ default, set explicitly for projects extending this
    // file. With `module: commonjs`, it resolves `exports` maps using the
    // `require` and `types` conditions.
    "moduleResolution": "bundler",
    "esModuleInterop": true,
    "target": "es2018",
    "sourceMap": true,
    "declaration": true,
    "importHelpers": true
  }
}
