Follow up formatting by Prettier 2.3.1 (#13463)

This commit is contained in:
Sosuke Suzuki 2021-06-15 02:30:32 +09:00 committed by GitHub
parent ad693cc0a0
commit f79e9ffe44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,11 +69,8 @@ function handleVariableDeclaration(
const { declarations } = node;
if (
declarations.every(
(
declarator,
): declarator is t.VariableDeclarator & {
id: t.Identifier;
} => t.isIdentifier(declarator.id),
(declarator): declarator is t.VariableDeclarator & { id: t.Identifier } =>
t.isIdentifier(declarator.id),
)
) {
// `export const a = 1` transforms to `const a = N.a = 1`, the output