{
  "extends": "../tsconfig.base.json",
  "compilerOptions": {
    "lib": ["dom", "esnext"],
    "types": ["svelte"],
    // Needed for vite-tsconfig-paths to handle paths from non-TS files
    // (such as Svelte components)
    "allowJs": true,
    "resolveJsonModule": true,
    // Not actually used, but an `outDir` different to the current directory is needed if `.js`
    // files are imported somewhere in the tree, so that they are not considered as being
    // overridden (even though they are not actually built in-place anyway).
    "outDir": "../../build/app"
  },
  "include": [
    "../common/dom/crypto.d.ts",
    "../common/dom/i18next.d.ts",
    "../common/dom/vite-client.d.ts",
    "../common/dom/webrtc-patches.d.ts",
    "**/*.ts",
    "**/*.svelte",
    "../translations/**/*.json"
  ],
  "exclude": ["electron/main/**"]
}
