Skip to content

Commit ff76f8e

Browse files
committed
🔧 fix: async module doesn't load
1 parent 5f540e4 commit ff76f8e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,8 @@ export const node = () => {
444444
app.modules.then(() => {
445445
try {
446446
serverInfo.reload(
447-
// @ts-expect-error
448447
typeof options === 'object'
449-
? options
448+
? options as any
450449
: {
451450
port: options
452451
}

0 commit comments

Comments
 (0)