Skip to content

Commit

Permalink
test(typescript-estree): [babel alignment] remove now unnecessary AST…
Browse files Browse the repository at this point in the history
… transformation for ImportDeclaration (#2754)
  • Loading branch information
sosukesuzuki committed Nov 11, 2020
1 parent 33ce420 commit abe33fb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/typescript-estree/tests/ast-alignment/utils.ts
Expand Up @@ -266,14 +266,6 @@ export function preprocessBabylonAST(ast: BabelTypes.File): any {
node.asserts = false;
}
},
ImportDeclaration(node) {
/**
* TS 3.8: import type
*/
if (!node.importKind) {
node.importKind = 'value';
}
},
},
);
}
Expand Down

0 comments on commit abe33fb

Please sign in to comment.