From f79e9ffe44e53476ee77cc51d990e12a6225446f Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Tue, 15 Jun 2021 02:30:32 +0900 Subject: [PATCH] Follow up formatting by Prettier 2.3.1 (#13463) --- .../babel-plugin-transform-typescript/src/namespace.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/babel-plugin-transform-typescript/src/namespace.ts b/packages/babel-plugin-transform-typescript/src/namespace.ts index 4392467c10..2a24f156de 100644 --- a/packages/babel-plugin-transform-typescript/src/namespace.ts +++ b/packages/babel-plugin-transform-typescript/src/namespace.ts @@ -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