mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix linter alert
This commit is contained in:
1 parent
ba7c1a13c3
commit
2576ea1cf5
1 file changed
+2
-2
@@ -712,8 +712,8 @@ namespace ts.formatting {
|
||||
case SyntaxKind.Block: {
|
||||
const blockParent = context.currentTokenParent.parent;
|
||||
if (blockParent.kind !== SyntaxKind.ArrowFunction &&
|
||||
blockParent.kind !== SyntaxKind.FunctionExpression)
|
||||
{
|
||||
blockParent.kind !== SyntaxKind.FunctionExpression
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user