Skip to content

Commit

Permalink
add onlyRemoveTypeImports testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Sep 28, 2021
1 parent 135d7cb commit 21d075c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
@@ -0,0 +1,5 @@
import type A from "A";
import type { B } from "B";
import C from "C";

export { A, B, C } // <-- A and B will be removed
@@ -0,0 +1,10 @@
{
"plugins": [
[
"transform-typescript",
{
"onlyRemoveTypeImports": true
}
]
]
}
@@ -0,0 +1,2 @@
import C from "C";
export { C }; // <-- A and B will be removed

0 comments on commit 21d075c

Please sign in to comment.