Skip to content

Commit abe33fb

Browse files
authored
test(typescript-estree): [babel alignment] remove now unnecessary AST transformation for ImportDeclaration (typescript-eslint#2754)
1 parent 33ce420 commit abe33fb

File tree

1 file changed

+0
-8
lines changed
  • packages/typescript-estree/tests/ast-alignment

1 file changed

+0
-8
lines changed

packages/typescript-estree/tests/ast-alignment/utils.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,6 @@ export function preprocessBabylonAST(ast: BabelTypes.File): any {
266266
node.asserts = false;
267267
}
268268
},
269-
ImportDeclaration(node) {
270-
/**
271-
* TS 3.8: import type
272-
*/
273-
if (!node.importKind) {
274-
node.importKind = 'value';
275-
}
276-
},
277269
},
278270
);
279271
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy