mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
committed by
Mohamed Hegazy
parent
7ef541ca1f
commit
67eabb98bc
@@ -198,7 +198,7 @@ namespace ts.formatting {
|
||||
RuleAction.Delete),
|
||||
|
||||
// decorators
|
||||
rule("SpaceBeforeAt", anyToken, SyntaxKind.AtToken, [isNonJsxSameLineTokenContext], RuleAction.Space),
|
||||
rule("SpaceBeforeAt", [SyntaxKind.CloseParenToken, SyntaxKind.Identifier], SyntaxKind.AtToken, [isNonJsxSameLineTokenContext], RuleAction.Space),
|
||||
rule("NoSpaceAfterAt", SyntaxKind.AtToken, anyToken, [isNonJsxSameLineTokenContext], RuleAction.Delete),
|
||||
// Insert space after @ in decorator
|
||||
rule("SpaceAfterDecorator",
|
||||
|
||||
Reference in New Issue
Block a user