-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ts-estree): align typeArguments and typeParameters across nodes (#…
…223)
- Loading branch information
1 parent
690bff3
commit 3306198
Showing
13 changed files
with
4,605 additions
and
12 deletions.
There are no files selected for viewing
2,284 changes: 2,284 additions & 0 deletions
2,284
packages/parser/tests/lib/__snapshots__/typescript.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...fixtures/fixtures/typescript/errorRecovery/empty-type-arguments-in-call-expression.src.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 @@ | ||
foo<>(); |
1 change: 1 addition & 0 deletions
1
...-fixtures/fixtures/typescript/errorRecovery/empty-type-arguments-in-new-expression.src.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 @@ | ||
new Foo<>() |
1 change: 1 addition & 0 deletions
1
...fixtures/fixtures/typescript/errorRecovery/empty-type-parameters-in-arrow-function.src.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 @@ | ||
function f1<>() {} |
3 changes: 3 additions & 0 deletions
3
...ed-fixtures/fixtures/typescript/errorRecovery/empty-type-parameters-in-constructor.src.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,3 @@ | ||
class foo { | ||
constructor<>() {} | ||
} |
1 change: 1 addition & 0 deletions
1
...res/fixtures/typescript/errorRecovery/empty-type-parameters-in-function-expression.src.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 @@ | ||
const foo = function<>() {} |
3 changes: 3 additions & 0 deletions
3
...xtures/fixtures/typescript/errorRecovery/empty-type-parameters-in-method-signature.src.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,3 @@ | ||
interface foo { | ||
test<>(); | ||
} |
3 changes: 3 additions & 0 deletions
3
.../shared-fixtures/fixtures/typescript/errorRecovery/empty-type-parameters-in-method.src.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,3 @@ | ||
class foo { | ||
test<>() {} | ||
} |
1 change: 1 addition & 0 deletions
1
packages/shared-fixtures/fixtures/typescript/errorRecovery/empty-type-parameters.src.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 @@ | ||
function f1<>() {} |
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
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
Oops, something went wrong.