diff --git a/package.json b/package.json index 57c996179..96fae3a0e 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ }, "devDependencies": { "@types/human-number": "^1.0.0", - "@types/unzipper": "^0.10.5" + "@types/unzipper": "^0.10.5", + "bun-types": "^0.7.3" } } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..0c34b706d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "types": ["bun-types"], + + // enable latest features + "lib": ["esnext"], + "module": "esnext", + "target": "esnext", + + "moduleResolution": "bundler", + "noEmit": true, + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "composite": true, + "moduleDetection": "force", + + "jsx": "react-jsx", + "allowJs": true, + "esModuleInterop": true, + + "strict": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true + } + } + \ No newline at end of file