mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
feat: add type support for Bun (#8288)
**Motivation** Add types support for Bun. So we can start using `if(Bun)` in our codebase. **Description** - Add `@types/bun` package **Steps to test or reproduce** - Run all tests
This commit is contained in:
@@ -28,13 +28,17 @@
|
||||
// TODO: Investigate following errors:
|
||||
// - Cannot find module 'rollup/parseAst' or its corresponding type declarations
|
||||
"skipLibCheck": true,
|
||||
|
||||
"types": ["node", "bun", "vitest"],
|
||||
|
||||
// Required to run benchmark command from root directory
|
||||
"typeRoots": [
|
||||
"node_modules/@types",
|
||||
"./types",
|
||||
"${configDir}/node_modules/@types",
|
||||
"${configDir}/types"
|
||||
"${configDir}/types",
|
||||
"../../node_modules/@types",
|
||||
"../../types",
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user