Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix flow-comments - class type paramters and implements (#9897)
- Loading branch information
1 parent
7101308
commit ca3c53a
Showing
7 changed files
with
36 additions
and
7 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
1 change: 1 addition & 0 deletions
1
...lugin-transform-flow-comments/test/fixtures/flow-comments/class-type-parameter-2/input.js
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 @@ | ||
class Foo implements Bar, Baz {} |
3 changes: 3 additions & 0 deletions
3
...ugin-transform-flow-comments/test/fixtures/flow-comments/class-type-parameter-2/output.js
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 | ||
/*:: implements Bar, Baz*/ | ||
{} |
1 change: 1 addition & 0 deletions
1
...lugin-transform-flow-comments/test/fixtures/flow-comments/class-type-parameter-3/input.js
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 @@ | ||
class Foo<S, T> implements Bar, Baz {} |
3 changes: 3 additions & 0 deletions
3
...ugin-transform-flow-comments/test/fixtures/flow-comments/class-type-parameter-3/output.js
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 | ||
/*:: <S, T> implements Bar, Baz*/ | ||
{} |
1 change: 1 addition & 0 deletions
1
...-plugin-transform-flow-comments/test/fixtures/flow-comments/class-type-parameter/input.js
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 @@ | ||
class Foo<T> {} |
3 changes: 3 additions & 0 deletions
3
...plugin-transform-flow-comments/test/fixtures/flow-comments/class-type-parameter/output.js
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 | ||
/*:: <T>*/ | ||
{} |