{
  "extends": "../../tsconfig.base.json",
  "include": ["src"],
  "compilerOptions": {
    "rootDir": "src",
    "tsBuildInfoFile": "./tsconfig.tsbuildinfo",
    "types": [
      // from tsconfig.base.json
      "vite/client",
      "@types/dom-mediacapture-transform",
      "@types/offscreencanvas",

      // rrweb specific:
      /*
       * @see https://vitest.dev/config/#globals
       * if we remove the --globals flag from the vite test command, we can remove this
       * to remove the flag, we need to add vitest imports in the test files
       */
      "vitest/globals"
    ],

    // TODO: enable me in the future, this is quite a large project
    // at time of writing (April 2024) there are over 100 errors in rrweb
    "strict": false
  },
  "references": [
    {
      "path": "../types"
    },
    {
      "path": "../rrdom"
    },
    {
      "path": "../rrweb-snapshot"
    }
  ]
}
