Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for babel-plugin-transform-typescript
- Loading branch information
1 parent
6eaea73
commit 3cc6c3d
Showing
13 changed files
with
53 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...l-plugin-transform-typescript/test/fixtures/exports/type-only-export-specifier-1/input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class Foo {} | ||
export { type Foo }; |
3 changes: 3 additions & 0 deletions
3
...plugin-transform-typescript/test/fixtures/exports/type-only-export-specifier-1/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Foo {} | ||
|
||
export {}; |
1 change: 1 addition & 0 deletions
1
...l-plugin-transform-typescript/test/fixtures/exports/type-only-export-specifier-2/input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { type A1, type A2 } from "a" |
1 change: 1 addition & 0 deletions
1
...plugin-transform-typescript/test/fixtures/exports/type-only-export-specifier-2/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
1 change: 1 addition & 0 deletions
1
...l-plugin-transform-typescript/test/fixtures/exports/type-only-export-specifier-3/input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { type A1, type A2, A3 } from "a" |
1 change: 1 addition & 0 deletions
1
...plugin-transform-typescript/test/fixtures/exports/type-only-export-specifier-3/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { A3 } from "a"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ import d, { d2 } from "d"; | |
import e, { e3 as e4 } from "e"; | ||
import "f"; | ||
import "g"; | ||
import { L2 } from "l"; | ||
; |
2 changes: 2 additions & 0 deletions
2
...l-plugin-transform-typescript/test/fixtures/imports/type-only-import-specifier-1/input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { Foo1, type Foo2 } from "Foo"; | ||
Foo1; |
2 changes: 2 additions & 0 deletions
2
...plugin-transform-typescript/test/fixtures/imports/type-only-import-specifier-1/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { Foo1 } from "Foo"; | ||
Foo1; |
1 change: 1 addition & 0 deletions
1
...l-plugin-transform-typescript/test/fixtures/imports/type-only-import-specifier-2/input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import { type Foo1, type Foo2 } from "Foo"; |
1 change: 1 addition & 0 deletions
1
...plugin-transform-typescript/test/fixtures/imports/type-only-import-specifier-2/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |