{
    "include": ["src/**/*"],
    "compilerOptions": {
      // Tells TypeScript to read JS files, as
      // normally they are ignored as source files
      "allowJs": true,
      // Generate d.ts files
      "declaration": true,
      "target": "ES2020",
      // Emit both JS and d.ts files
      "emitDeclarationOnly": false,
      // Types should go into this directory.
      // Removing this would place the .d.ts files
      // next to the .js files
      "outDir": "dist",
      // go to js file when using IDE functions like
      // "Go to Definition" in VSCode
      "declarationMap": true,
      "moduleResolution": "node",
      "module": "ES2020",
      "lib": ["ES2020"],
      "skipLibCheck": true,
      "allowSyntheticDefaultImports": true,
      "esModuleInterop": true
    }
}
