{ "compilerOptions": { /* Basic Options */ "target": "esnext", "module": "nodenext", "lib": ["ESNext", "dom"], /* Specify library files to be included in the compilation. */ "allowJs": true, /* Allow javascript files to be compiled. */ "checkJs": true, /* Report errors in .js files. */ "declaration": true, /* Generates corresponding '.d.ts' file. */ "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ "outDir": "./types", // this is overritten by `npm run types` "baseUrl": "./src", /* Base directory to resolve non-absolute module names. */ "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ "emitDeclarationOnly": true, "strict": true, "noImplicitAny": true, "moduleResolution": "nodenext", "allowSyntheticDefaultImports": true }, "include": ["./src"], "exclude": ["./dist", "./node_modules"] }