devtools/tsconfig.json
author Emilio Cobos Álvarez <emilio@crisal.io>
Tue, 28 Mar 2023 08:20:09 +0000
changeset 658112 702d4a62e5d03a2b36b3a17645718208a30ddb08
parent 507164 658162be7bd47204896c556a92242922a322c51c
permissions -rw-r--r--
Bug 1824304 - Fix PiP window type hint after bug 1823350. r=stransky Differential Revision: https://phabricator.services.mozilla.com/D173677

{
  "compilerOptions": {
    "module": "commonjs",
    // Set the baseUrl to the root of the project.
    "baseUrl": "..",
    // Make the type checking as strict as possible.
    "strict": true,
    // TypeScript will check JS files only if they have a @ts-check comment in them.
    "allowJs": true,
    // Only type check, don't emit files.
    "noEmit": true,
    // Allow esnext syntax. Otherwise the default is ES5 only.
    "target": "esnext",
    "lib": ["esnext", "dom"]
  },
  // Add a @ts-check comment to a JS file to start type checking it.
  "include": ["./**/*.js", "./**/*.jsx"],
  "exclude": [
    "./client/debugger",
    "./client/shared/vendor",
    "./**/node_modules",
    "./**/test"
  ]
}