Skip to content

Commit 4afe045

Browse files
committed
Fix inconsistent argument label
This is the only of many overloads that does *not* remove the external argument label for one of its parameters. Looks like a copy/paste error.
1 parent 9447d52 commit 4afe045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public extension JSFunction {
228228
new(arguments: [arg0.jsValue, arg1.jsValue, arg2.jsValue])
229229
}
230230

231-
func new(_ arg0: some ConvertibleToJSValue, _ arg1: some ConvertibleToJSValue, _ arg2: some ConvertibleToJSValue, arg3: some ConvertibleToJSValue) -> JSObject {
231+
func new(_ arg0: some ConvertibleToJSValue, _ arg1: some ConvertibleToJSValue, _ arg2: some ConvertibleToJSValue, _ arg3: some ConvertibleToJSValue) -> JSObject {
232232
new(arguments: [arg0.jsValue, arg1.jsValue, arg2.jsValue, arg3.jsValue])
233233
}
234234

0 commit comments

Comments
 (0)