Skip to content

Commit 06a33b0

Browse files
authored
Merge pull request #717 from lightpanda-io/missing-t
Missing T
2 parents a1f140a + 88df9f0 commit 06a33b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/js.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
12671267
return self.tryCallWithThis(T, self.getThis(), args, result);
12681268
}
12691269

1270-
pub fn tryCallWithThis(self: *const Function, comptime T: type, this: anytype, args: anytype, result: *Result) !void {
1270+
pub fn tryCallWithThis(self: *const Function, comptime T: type, this: anytype, args: anytype, result: *Result) !T {
12711271
var try_catch: TryCatch = undefined;
12721272
try_catch.init(self.scope);
12731273
defer try_catch.deinit();

0 commit comments

Comments
 (0)