-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b04f50
commit 308814f
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
18 changes: 14 additions & 4 deletions
18
tests/baselines/reference/jsFileCompilationTypeArgumentSyntaxOfCall.errors.txt
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 |
---|---|---|
@@ -1,30 +1,40 @@ | ||
tests/cases/compiler/a.jsx(1,13): error TS1109: Expression expected. | ||
tests/cases/compiler/a.jsx(4,1): error TS2657: JSX expressions must have one parent element. | ||
tests/cases/compiler/a.jsx(4,5): error TS1003: Identifier expected. | ||
tests/cases/compiler/a.jsx(4,13): error TS1382: Unexpected token. Did you mean `{'>'}` or `>`? | ||
tests/cases/compiler/a.jsx(4,14): error TS17002: Expected corresponding JSX closing tag for 'number'. | ||
tests/cases/compiler/a.jsx(4,20): error TS2657: JSX expressions must have one parent element. | ||
tests/cases/compiler/a.jsx(5,1): error TS2657: JSX expressions must have one parent element. | ||
tests/cases/compiler/a.jsx(5,5): error TS1003: Identifier expected. | ||
tests/cases/compiler/a.jsx(5,6): error TS17008: JSX element 'number' has no corresponding closing tag. | ||
tests/cases/compiler/a.jsx(5,14): error TS1382: Unexpected token. Did you mean `{'>'}` or `>`? | ||
tests/cases/compiler/a.jsx(6,1): error TS1005: '</' expected. | ||
|
||
|
||
==== tests/cases/compiler/a.jsx (7 errors) ==== | ||
==== tests/cases/compiler/a.jsx (10 errors) ==== | ||
Foo<number>(); | ||
~ | ||
!!! error TS1109: Expression expected. | ||
Foo<number>(1); | ||
Foo<number>``; | ||
<Foo<number>></Foo>; | ||
~~~~~~~~~~~~~~~~~~~ | ||
!!! error TS2657: JSX expressions must have one parent element. | ||
~ | ||
!!! error TS1003: Identifier expected. | ||
~ | ||
!!! error TS1382: Unexpected token. Did you mean `{'>'}` or `>`? | ||
~~~~~~ | ||
!!! error TS17002: Expected corresponding JSX closing tag for 'number'. | ||
~ | ||
!!! error TS2657: JSX expressions must have one parent element. | ||
<Foo<number>/>; | ||
~~~~~~~~~~~~~~~ | ||
~ | ||
!!! error TS1003: Identifier expected. | ||
~~~~~~ | ||
!!! error TS17008: JSX element 'number' has no corresponding closing tag. | ||
~ | ||
!!! error TS1382: Unexpected token. Did you mean `{'>'}` or `>`? | ||
|
||
|
||
!!! error TS2657: JSX expressions must have one parent element. | ||
|
||
!!! error TS1005: '</' expected. |
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