{
  "compilerOptions" : {
    "strict": true,
    "sourceMap": true,
    "target": "es2017",
    "declaration": false,
    "moduleResolution": "node", // This resolution strategy attempts to mimic the Node.js module resolution mechanism at runtime
    "lib": ["dom", "es2017", "es2018", "es2019"],

    // allows to import .json files for i18n
    "resolveJsonModule": true,

    // allows to omit export default in .json files
    "allowSyntheticDefaultImports": true,
    "experimentalDecorators": true,
    "baseUrl": "./",
    "paths": {
      "@/types": [ "./types/" ],
      "@/types/*": [ "./types/*" ],
    },

    // @todo move to cypress/tsconfig.json when cypress will support overriding tsconfig path
    // @see https://github.com/cypress-io/cypress/issues/23045
    "esModuleInterop": true
  },
}
