Skip to content

Commit ca19e88

Browse files
authored
Fix deprecation warning in JSFunction.swift (#182)
1 parent ed79d59 commit ca19e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private func invokeNonThrowingJSFunction(_ jsFunc: JSFunction, arguments: [Conve
104104
}
105105
assert(!kindAndFlags.isException)
106106
let result = RawJSValue(kind: kindAndFlags.kind, payload1: payload1, payload2: payload2)
107-
return result.jsValue()
107+
return result.jsValue
108108
}
109109
}
110110
}

0 commit comments

Comments
 (0)