From 88df9f01347f1f8ba5c2a4dc57552604554e211c Mon Sep 17 00:00:00 2001 From: sjorsdonkers <72333389+sjorsdonkers@users.noreply.github.com> Date: Wed, 28 May 2025 10:42:33 +0200 Subject: [PATCH] missing t --- src/runtime/js.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/js.zig b/src/runtime/js.zig index ccd1ab70..c6afa935 100644 --- a/src/runtime/js.zig +++ b/src/runtime/js.zig @@ -1267,7 +1267,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type { return self.tryCallWithThis(T, self.getThis(), args, result); } - pub fn tryCallWithThis(self: *const Function, comptime T: type, this: anytype, args: anytype, result: *Result) !void { + pub fn tryCallWithThis(self: *const Function, comptime T: type, this: anytype, args: anytype, result: *Result) !T { var try_catch: TryCatch = undefined; try_catch.init(self.scope); defer try_catch.deinit();