Skip to content

Commit 0c3cb25

Browse files
./Utilities/format.swift
1 parent 4e3f02b commit 0c3cb25

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Plugins/BridgeJS/Sources/BridgeJSLink/BridgeJSLink.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3156,7 +3156,8 @@ extension BridgeJSLink {
31563156
}
31573157
for method in type.staticMethods {
31583158
let methodName = method.jsName ?? method.name
3159-
let signature = "\(renderTSPropertyName(methodName))\(renderTSSignature(parameters: method.parameters, returnType: method.returnType, effects: Effects(isAsync: false, isThrows: false)));"
3159+
let signature =
3160+
"\(renderTSPropertyName(methodName))\(renderTSSignature(parameters: method.parameters, returnType: method.returnType, effects: Effects(isAsync: false, isThrows: false)));"
31603161
dtsPrinter.write(signature)
31613162
}
31623163
}

Plugins/BridgeJS/Tests/BridgeJSToolTests/Inputs/MacroSwift/JSClassStaticFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ extension StaticBox {
1515
@JSClass struct WithCtor {
1616
@JSFunction init(_ value: Double) throws(JSException)
1717
@JSFunction static func create(_ value: Double) throws(JSException) -> WithCtor
18-
}
18+
}

0 commit comments

Comments
 (0)