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;
|
const { declarations } = node;
|
||||||
if (
|
if (
|
||||||
declarations.every(
|
declarations.every(
|
||||||
(
|
(declarator): declarator is t.VariableDeclarator & { id: t.Identifier } =>
|
||||||
declarator,
|
t.isIdentifier(declarator.id),
|
||||||
): declarator is t.VariableDeclarator & {
|
|
||||||
id: t.Identifier;
|
|
||||||
} => t.isIdentifier(declarator.id),
|
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
// `export const a = 1` transforms to `const a = N.a = 1`, the output
|
// `export const a = 1` transforms to `const a = N.a = 1`, the output
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user