mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
This page left intentionally blank
Supports EmptyStatement nodes by ignoring them. Note no tests because format-on-save clears away any empty statements and there is, rather frustratingly, no way to tell VSCode not to format on save for a specific file via the file contents itself or project configuration (at least, not that i can find).
This commit is contained in:
@@ -880,6 +880,9 @@ function lowerStatement(
|
||||
});
|
||||
return;
|
||||
}
|
||||
case "EmptyStatement": {
|
||||
return;
|
||||
}
|
||||
case "ForInStatement":
|
||||
case "ClassDeclaration":
|
||||
case "DeclareClass":
|
||||
@@ -892,7 +895,6 @@ function lowerStatement(
|
||||
case "DeclareOpaqueType":
|
||||
case "DeclareTypeAlias":
|
||||
case "DeclareVariable":
|
||||
case "EmptyStatement":
|
||||
case "EnumDeclaration":
|
||||
case "ExportAllDeclaration":
|
||||
case "ExportDefaultDeclaration":
|
||||
|
||||
Reference in New Issue
Block a user