// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: Beslogic Inc.

{
  "extends": "./tsconfig.5.6.json",
  "compilerOptions": {
    "moduleResolution": "nodenext",
    "module": "nodenext",
    "allowSyntheticDefaultImports": true,
    "noUncheckedIndexedAccess": false,
    "noEmit": true,
    "jsx": "react-jsx",
    "allowJs": true,
    "noImplicitAny": false,
    // Some issues in upstream .d.ts imports
    "skipLibCheck": true,
    // Necessary as long as we still test old-style Angular decorators
    "experimentalDecorators": true,
    // Workaround: Yarn's builtin compat/typescript patch (meant for PnP) still gets applied
    // under nodeLinker "pnpm", breaking automatic @types/* discovery entirely.
    // https://github.com/yarnpkg/berry/issues/3275 (fixed for node-modules linker, not pnpm)
    "types": ["node", "react"],
  },
  // Implicit include "**/*" skips dot-directories, so .azuredevops files
  // (e.g. pipeline scripts) are dropped from the project. Re-add them explicitly.
  "include": [
    "**/*",
    ".azuredevops/**/*",
  ],
}
