Skip to content

Commit b57f1ff

Browse files
committed
chore(example): add bun types for typecheck
1 parent b8ea174 commit b57f1ff

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

example/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@
77
"dependencies": {
88
"better-call": "workspace:*",
99
"zod": "^4.3.6"
10+
},
11+
"devDependencies": {
12+
"@types/bun": "^1.3.13"
1013
}
1114
}

example/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../tsconfig.base.json",
33
"include": ["./hello.ts", "bundle.ts"],
44
"compilerOptions": {
5-
"declaration": true
5+
"declaration": true,
6+
"types": ["node", "bun"]
67
},
78
"references": [
89
{

pnpm-lock.yaml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)