{
  "compilerOptions": {
    "target": "ES2020",
    "useDefineForClassFields": true,
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "declaration": true,
    "rootDir": "./",  // Or the path where your source files are located
    "outDir": "./dist", 
    "declarationDir": "./dist/types",
    "emitDeclarationOnly": true,
    "jsx": "react-jsx",
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true,
    /* The "typeRoots" configuration specifies the locations where 
       TypeScript looks for type definitions (.d.ts files) to 
       include in the compilation process.*/
    "typeRoots": ["./dist/index.d.ts"]
  },
  /* include /index.ts*/
  "include": ["lib/**/*.ts", "lib/**/*.tsx", "lib/**/*.d.ts"],
  "exclude": ["lib/**/*.d.ts"],
  "references": [{ "path": "./tsconfig.node.json" }]
}