We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d58fc26 commit b7a1bf2Copy full SHA for b7a1bf2
Plugins/BridgeJS/Sources/BridgeJSMacros/JSSetterMacro.swift
@@ -54,7 +54,7 @@ extension JSSetterMacro: BodyMacro {
54
firstName: .wildcardToken(trailingTrivia: .space),
55
secondName: .identifier("value"),
56
colon: .colonToken(trailingTrivia: .space),
57
- type: TypeSyntax(stringLiteral: "<#Type#>")
+ type: IdentifierTypeSyntax(name: TokenSyntax(.identifier("<#Type#>"), presence: .present))
58
)
59
let newClause = FunctionParameterClauseSyntax(
60
leftParen: .leftParenToken(),
0 commit comments