Follow up formatting by Prettier 2.3.1 (#13463)
This commit is contained in:
parent
ad693cc0a0
commit
f79e9ffe44
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user