Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Aug 23, 2023
1 parent 157a6cc commit 42f7ae0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
26 changes: 26 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 42f7ae0

Please sign in to comment.