1
1
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,6): error TS17008: JSX element 'any' has no corresponding closing tag.
2
2
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,13): error TS2582: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
3
3
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,17): error TS1005: '}' expected.
4
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,31): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
4
5
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(8,6): error TS17008: JSX element 'any' has no corresponding closing tag.
5
6
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(10,6): error TS17008: JSX element 'foo' has no corresponding closing tag.
7
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(10,24): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
6
8
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(10,32): error TS1005: '}' expected.
9
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(12,23): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
10
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(12,24): error TS1382: Unexpected token. Did you mean `{'>'}` or `>`?
7
11
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(12,36): error TS1005: '}' expected.
8
12
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(14,17): error TS17008: JSX element 'foo' has no corresponding closing tag.
13
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(14,23): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
14
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(14,24): error TS1382: Unexpected token. Did you mean `{'>'}` or `>`?
15
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(14,38): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
9
16
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(14,45): error TS1005: '}' expected.
10
17
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(18,2): error TS17008: JSX element 'foo' has no corresponding closing tag.
11
18
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(18,8): error TS17008: JSX element 'foo' has no corresponding closing tag.
12
19
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(18,13): error TS17008: JSX element 'foo' has no corresponding closing tag.
20
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(18,69): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
21
+ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(18,76): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
13
22
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(21,1): error TS1005: ':' expected.
14
23
tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(21,1): error TS1005: '</' expected.
15
24
16
25
17
- ==== tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx (14 errors) ====
26
+ ==== tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx (23 errors) ====
18
27
declare var createElement: any;
19
28
20
29
class foo {}
@@ -27,6 +36,8 @@ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(21,1): error TS1005: '</' ex
27
36
!!! error TS2582: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
28
37
~
29
38
!!! error TS1005: '}' expected.
39
+ ~
40
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
30
41
31
42
x = <any><any></any>;
32
43
~~~
@@ -35,16 +46,28 @@ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(21,1): error TS1005: '</' ex
35
46
x = <foo>hello {<foo>{}} </foo>;
36
47
~~~
37
48
!!! error TS17008: JSX element 'foo' has no corresponding closing tag.
49
+ ~
50
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
38
51
~
39
52
!!! error TS1005: '}' expected.
40
53
41
54
x = <foo test={<foo>{}}>hello</foo>;
55
+ ~
56
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
57
+ ~
58
+ !!! error TS1382: Unexpected token. Did you mean `{'>'}` or `>`?
42
59
~
43
60
!!! error TS1005: '}' expected.
44
61
45
62
x = <foo test={<foo>{}}>hello{<foo>{}}</foo>;
46
63
~~~
47
64
!!! error TS17008: JSX element 'foo' has no corresponding closing tag.
65
+ ~
66
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
67
+ ~
68
+ !!! error TS1382: Unexpected token. Did you mean `{'>'}` or `>`?
69
+ ~
70
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
48
71
~
49
72
!!! error TS1005: '}' expected.
50
73
@@ -57,6 +80,10 @@ tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(21,1): error TS1005: '</' ex
57
80
!!! error TS17008: JSX element 'foo' has no corresponding closing tag.
58
81
~~~
59
82
!!! error TS17008: JSX element 'foo' has no corresponding closing tag.
83
+ ~
84
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
85
+ ~
86
+ !!! error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
60
87
61
88
62
89
0 commit comments