Skip to content

Commit b3fd8c7

Browse files
committed
fix HMREventNames
1 parent 8b070ca commit b3fd8c7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/bun-types/devserver.d.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
declare module "bun" {
22
type HMREventNames =
3-
| "bun:beforeUpdate"
4-
| "bun:afterUpdate"
5-
| "bun:beforeFullReload"
6-
| "bun:beforePrune"
7-
| "bun:invalidate"
8-
| "bun:error"
9-
| "bun:ws:disconnect"
10-
| "bun:ws:connect";
3+
| "beforeUpdate"
4+
| "afterUpdate"
5+
| "beforeFullReload"
6+
| "beforePrune"
7+
| "invalidate"
8+
| "error"
9+
| "ws:disconnect"
10+
| "ws:connect";
1111

1212
/**
1313
* The event names for the dev server

packages/bun-types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@
3737
"bun.js",
3838
"types"
3939
]
40-
}
40+
}

0 commit comments

Comments
 (0)