Skip to content

Commit d6a5d9f

Browse files
committed
Fix missing kind for wrapExport
1 parent da8aac6 commit d6a5d9f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/sources/H3.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,28 @@ export class H3 implements Wrapper {
7878
.withVersion("^1.8.0")
7979
.onRequire((exports, pkgInfo) => {
8080
wrapExport(exports, "defineEventHandler", pkgInfo, {
81+
kind: undefined,
8182
modifyArgs: (args) => {
8283
return this.wrapEventHandler(args, exports);
8384
},
8485
});
8586

8687
wrapExport(exports, "createApp", pkgInfo, {
88+
kind: undefined,
8789
modifyArgs: (args) => {
8890
return this.wrapCreateApp(args, exports);
8991
},
9092
});
9193

9294
wrapExport(exports, "fromNodeMiddleware", pkgInfo, {
95+
kind: undefined,
9396
modifyReturnValue: (_args, returnValue) => {
9497
return this.wrapFromFunction(returnValue, exports);
9598
},
9699
});
97100

98101
wrapExport(exports, "fromWebHandler", pkgInfo, {
102+
kind: undefined,
99103
modifyReturnValue: (_args, returnValue) => {
100104
return this.wrapFromFunction(returnValue, exports);
101105
},
@@ -110,6 +114,7 @@ export class H3 implements Wrapper {
110114
];
111115
for (const func of bodyFuncs) {
112116
wrapExport(exports, func, pkgInfo, {
117+
kind: undefined,
113118
modifyReturnValue: wrapReadBody,
114119
});
115120
}

0 commit comments

Comments
 (0)