|
1 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(7,5): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
2 | 1 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(7,13): error TS2304: Cannot find name 'test'.
|
3 | 2 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(7,17): error TS1005: '}' expected.
|
4 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(7,19): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
5 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(9,5): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
6 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(9,10): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
7 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(11,5): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
8 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(11,17): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
9 | 3 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(11,32): error TS1005: '}' expected.
|
10 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(13,5): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
11 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(13,16): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
12 | 4 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(13,36): error TS1005: '}' expected.
|
13 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(15,5): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
14 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(15,16): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
15 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(15,31): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
16 | 5 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(15,45): error TS1005: '}' expected.
|
17 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(17,5): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
18 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(17,23): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
19 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,1): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
20 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,7): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
21 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,12): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
22 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,34): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
23 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,39): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
24 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,53): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
25 |
| -tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(19,58): error TS2602: The global type 'JSX.Element' must exist when using JSX. |
26 | 6 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(22,1): error TS1005: ':' expected.
|
27 | 7 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(22,1): error TS17002: Expected corresponding JSX closing tag for 'any'.
|
28 | 8 | tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(22,1): error TS17002: Expected corresponding JSX closing tag for 'foo'.
|
29 | 9 |
|
30 | 10 |
|
31 |
| -==== tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx (28 errors) ==== |
| 11 | +==== tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx (8 errors) ==== |
32 | 12 |
|
33 | 13 | declare var createElement: any;
|
34 | 14 |
|
35 | 15 | class foo {}
|
36 | 16 |
|
37 | 17 | var x: any;
|
38 | 18 | x = <any> { test: <any></any> };
|
39 |
| - ~~~~~ |
40 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
41 | 19 | ~~~~
|
42 | 20 | !!! error TS2304: Cannot find name 'test'.
|
43 | 21 | ~
|
44 | 22 | !!! error TS1005: '}' expected.
|
45 |
| - ~~~~~ |
46 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
47 | 23 |
|
48 | 24 | x = <any><any></any>;
|
49 |
| - ~~~~~ |
50 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
51 |
| - ~~~~~ |
52 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
53 | 25 |
|
54 | 26 | x = <foo>hello {<foo>{}} </foo>;
|
55 |
| - ~~~~~ |
56 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
57 |
| - ~~~~~ |
58 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
59 | 27 | ~
|
60 | 28 | !!! error TS1005: '}' expected.
|
61 | 29 |
|
62 | 30 | x = <foo test={<foo>{}}>hello</foo>;
|
63 |
| - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
64 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
65 |
| - ~~~~~ |
66 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
67 | 31 | ~
|
68 | 32 | !!! error TS1005: '}' expected.
|
69 | 33 |
|
70 | 34 | x = <foo test={<foo>{}}>hello{<foo>{}}</foo>;
|
71 |
| - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
72 |
| - ~~~~~ |
73 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
74 |
| - ~~~~~ |
75 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
76 | 35 | ~
|
77 | 36 | !!! error TS1005: '}' expected.
|
78 | 37 |
|
79 |
| - |
80 | 38 | x = <foo>x</foo>, x = <foo/>;
|
81 |
| - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
82 |
| - ~~~~~ |
83 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
84 |
| - ~~~~~~ |
85 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
86 |
| - |
87 | 39 |
|
88 | 40 | <foo>{<foo><foo>{/foo/.test(x) ? <foo><foo></foo> : <foo><foo></foo>}</foo>}</foo>
|
89 |
| - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
90 |
| - ~~~~~ |
91 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
92 |
| - ~~~~~ |
93 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
94 |
| - ~~~~~ |
95 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
96 |
| - ~~~~~ |
97 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
98 |
| - ~~~~~ |
99 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
100 |
| - ~~~~~ |
101 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
102 |
| - ~~~~~ |
103 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
104 |
| - |
105 | 41 |
|
106 | 42 |
|
107 |
| - ~~~~ |
108 |
| - |
109 | 43 |
|
110 |
| -!!! error TS2602: The global type 'JSX.Element' must exist when using JSX. |
111 | 44 |
|
112 | 45 | !!! error TS1005: ':' expected.
|
113 | 46 |
|
|
0 commit comments