Skip to content

Commit b7a1bf2

Browse files
BridgeJS: Remove parsing API usage from JSSetterMacro
1 parent d58fc26 commit b7a1bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/BridgeJS/Sources/BridgeJSMacros/JSSetterMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extension JSSetterMacro: BodyMacro {
5454
firstName: .wildcardToken(trailingTrivia: .space),
5555
secondName: .identifier("value"),
5656
colon: .colonToken(trailingTrivia: .space),
57-
type: TypeSyntax(stringLiteral: "<#Type#>")
57+
type: IdentifierTypeSyntax(name: TokenSyntax(.identifier("<#Type#>"), presence: .present))
5858
)
5959
let newClause = FunctionParameterClauseSyntax(
6060
leftParen: .leftParenToken(),

0 commit comments

Comments
 (0)