tsconfig.json
{
"compilerOptions": {
"target": "es2020",
"lib": ["dom", "dom.iterable", "esnext"],
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"isolatedModules": false,
"allowJs": false,
"noEmit": false,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"baseUrl": "./packages",
"rootDir": "./src",
"outDir": "./pkg/dist-types"
},
"include": ["./src"],
"exclude": ["build", "pkg", "dist", "node_modules"]
}