-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow mixing labeled and unlabeled elements
- Loading branch information
1 parent
18bcb42
commit ce28128
Showing
10 changed files
with
32 additions
and
79 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
packages/babel-parser/test/fixtures/typescript/types/.tuple-spread-before-labeled/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 @@ | ||
type T = [...B, x: A]; |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...e-labeled-and-unlabeled-valid/output.json → ...tuple-labeled-after-unlabeled/output.json
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
File renamed without changes.
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: 0 additions & 1 deletion
1
...abel-parser/test/fixtures/typescript/types/tuple-labeled-optional-after-optional/input.ts
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
...l-parser/test/fixtures/typescript/types/tuple-labeled-optional-after-optional/output.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
...ypes/tuple-rest-after-labeled/output.json → ...es/tuple-spread-after-labeled/output.json
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