|
1 | 1 | // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing |
2 | 2 |
|
| 3 | +exports[`snippet: #0 [babel-ts] format 1`] = ` |
| 4 | +"Type argument list cannot be empty. (1:4) |
| 5 | +> 1 | foo<>() |
| 6 | + | ^ |
| 7 | +Cause: Type argument list cannot be empty. (1:3)" |
| 8 | +`; |
| 9 | + |
3 | 10 | exports[`snippet: #0 [typescript] format 1`] = ` |
4 | 11 | "Type argument list cannot be empty. (1:4) |
5 | 12 | > 1 | foo<>() |
6 | 13 | | ^^ |
7 | 14 | Cause: Type argument list cannot be empty." |
8 | 15 | `; |
9 | 16 |
|
| 17 | +exports[`snippet: #1 [babel-ts] format 1`] = ` |
| 18 | +"Type argument list cannot be empty. (1:5) |
| 19 | +> 1 | (foo<>()) |
| 20 | + | ^ |
| 21 | +Cause: Type argument list cannot be empty. (1:4)" |
| 22 | +`; |
| 23 | + |
10 | 24 | exports[`snippet: #1 [typescript] format 1`] = ` |
11 | 25 | "Type argument list cannot be empty. (1:5) |
12 | 26 | > 1 | (foo<>()) |
13 | 27 | | ^^ |
14 | 28 | Cause: Type argument list cannot be empty." |
15 | 29 | `; |
16 | 30 |
|
| 31 | +exports[`snippet: #2 [babel-ts] format 1`] = ` |
| 32 | +"Type argument list cannot be empty. (1:8) |
| 33 | +> 1 | new Foo<>() |
| 34 | + | ^ |
| 35 | +Cause: Type argument list cannot be empty. (1:7)" |
| 36 | +`; |
| 37 | + |
17 | 38 | exports[`snippet: #2 [typescript] format 1`] = ` |
18 | 39 | "Type argument list cannot be empty. (1:8) |
19 | 40 | > 1 | new Foo<>() |
20 | 41 | | ^^ |
21 | 42 | Cause: Type argument list cannot be empty." |
22 | 43 | `; |
23 | 44 |
|
| 45 | +exports[`snippet: #3 [babel-ts] format 1`] = ` |
| 46 | +"Type parameter list cannot be empty. (1:13) |
| 47 | +> 1 | function foo<>(){} |
| 48 | + | ^ |
| 49 | +Cause: Type parameter list cannot be empty. (1:12)" |
| 50 | +`; |
| 51 | + |
24 | 52 | exports[`snippet: #3 [typescript] format 1`] = ` |
25 | 53 | "Type parameter list cannot be empty. (1:13) |
26 | 54 | > 1 | function foo<>(){} |
27 | 55 | | ^^ |
28 | 56 | Cause: Type parameter list cannot be empty." |
29 | 57 | `; |
30 | 58 |
|
| 59 | +exports[`snippet: #4 [babel-ts] format 1`] = ` |
| 60 | +"Type parameter list cannot be empty. (1:14) |
| 61 | +> 1 | (function foo<>(){}) |
| 62 | + | ^ |
| 63 | +Cause: Type parameter list cannot be empty. (1:13)" |
| 64 | +`; |
| 65 | + |
31 | 66 | exports[`snippet: #4 [typescript] format 1`] = ` |
32 | 67 | "Type parameter list cannot be empty. (1:14) |
33 | 68 | > 1 | (function foo<>(){}) |
34 | 69 | | ^^ |
35 | 70 | Cause: Type parameter list cannot be empty." |
36 | 71 | `; |
37 | 72 |
|
| 73 | +exports[`snippet: #5 [babel-ts] format 1`] = ` |
| 74 | +"Type parameter list cannot be empty. (1:10) |
| 75 | +> 1 | class Foo<> {} |
| 76 | + | ^ |
| 77 | +Cause: Type parameter list cannot be empty. (1:9)" |
| 78 | +`; |
| 79 | + |
38 | 80 | exports[`snippet: #5 [typescript] format 1`] = ` |
39 | 81 | "Type parameter list cannot be empty. (1:10) |
40 | 82 | > 1 | class Foo<> {} |
41 | 83 | | ^^ |
42 | 84 | Cause: Type parameter list cannot be empty." |
43 | 85 | `; |
44 | 86 |
|
| 87 | +exports[`snippet: #6 [babel-ts] format 1`] = ` |
| 88 | +"Type parameter list cannot be empty. (1:11) |
| 89 | +> 1 | (class Foo<> {}) |
| 90 | + | ^ |
| 91 | +Cause: Type parameter list cannot be empty. (1:10)" |
| 92 | +`; |
| 93 | + |
45 | 94 | exports[`snippet: #6 [typescript] format 1`] = ` |
46 | 95 | "Type parameter list cannot be empty. (1:11) |
47 | 96 | > 1 | (class Foo<> {}) |
48 | 97 | | ^^ |
49 | 98 | Cause: Type parameter list cannot be empty." |
50 | 99 | `; |
51 | 100 |
|
| 101 | +exports[`snippet: #7 [babel-ts] format 1`] = ` |
| 102 | +"Type parameter list cannot be empty. (1:23) |
| 103 | +> 1 | class Foo {constructor<>()} |
| 104 | + | ^ |
| 105 | +Cause: Type parameter list cannot be empty. (1:22)" |
| 106 | +`; |
| 107 | + |
52 | 108 | exports[`snippet: #7 [typescript] format 1`] = ` |
53 | 109 | "Type parameter list cannot be empty. (1:23) |
54 | 110 | > 1 | class Foo {constructor<>()} |
55 | 111 | | ^^ |
56 | 112 | Cause: Type parameter list cannot be empty." |
57 | 113 | `; |
58 | 114 |
|
| 115 | +exports[`snippet: #8 [babel-ts] format 1`] = ` |
| 116 | +"Type parameter list cannot be empty. (1:24) |
| 117 | +> 1 | (class Foo {constructor<>()}) |
| 118 | + | ^ |
| 119 | +Cause: Type parameter list cannot be empty. (1:23)" |
| 120 | +`; |
| 121 | + |
59 | 122 | exports[`snippet: #8 [typescript] format 1`] = ` |
60 | 123 | "Type parameter list cannot be empty. (1:24) |
61 | 124 | > 1 | (class Foo {constructor<>()}) |
62 | 125 | | ^^ |
63 | 126 | Cause: Type parameter list cannot be empty." |
64 | 127 | `; |
65 | 128 |
|
| 129 | +exports[`snippet: #9 [babel-ts] format 1`] = ` |
| 130 | +"Type parameter list cannot be empty. (1:18) |
| 131 | +> 1 | class Foo {method<>()} |
| 132 | + | ^ |
| 133 | +Cause: Type parameter list cannot be empty. (1:17)" |
| 134 | +`; |
| 135 | + |
66 | 136 | exports[`snippet: #9 [typescript] format 1`] = ` |
67 | 137 | "Type parameter list cannot be empty. (1:18) |
68 | 138 | > 1 | class Foo {method<>()} |
69 | 139 | | ^^ |
70 | 140 | Cause: Type parameter list cannot be empty." |
71 | 141 | `; |
72 | 142 |
|
| 143 | +exports[`snippet: #10 [babel-ts] format 1`] = ` |
| 144 | +"Type parameter list cannot be empty. (1:19) |
| 145 | +> 1 | (class Foo {method<>()}) |
| 146 | + | ^ |
| 147 | +Cause: Type parameter list cannot be empty. (1:18)" |
| 148 | +`; |
| 149 | + |
73 | 150 | exports[`snippet: #10 [typescript] format 1`] = ` |
74 | 151 | "Type parameter list cannot be empty. (1:19) |
75 | 152 | > 1 | (class Foo {method<>()}) |
76 | 153 | | ^^ |
77 | 154 | Cause: Type parameter list cannot be empty." |
78 | 155 | `; |
79 | 156 |
|
| 157 | +exports[`snippet: #11 [babel-ts] format 1`] = ` |
| 158 | +"Type parameter list cannot be empty. (1:22) |
| 159 | +> 1 | class Foo {get getter<>()} |
| 160 | + | ^ |
| 161 | +Cause: Type parameter list cannot be empty. (1:21)" |
| 162 | +`; |
| 163 | + |
80 | 164 | exports[`snippet: #11 [typescript] format 1`] = ` |
81 | 165 | "Type parameter list cannot be empty. (1:22) |
82 | 166 | > 1 | class Foo {get getter<>()} |
83 | 167 | | ^^ |
84 | 168 | Cause: Type parameter list cannot be empty." |
85 | 169 | `; |
86 | 170 |
|
| 171 | +exports[`snippet: #12 [babel-ts] format 1`] = ` |
| 172 | +"Type parameter list cannot be empty. (1:23) |
| 173 | +> 1 | (class Foo {get getter<>()}) |
| 174 | + | ^ |
| 175 | +Cause: Type parameter list cannot be empty. (1:22)" |
| 176 | +`; |
| 177 | + |
87 | 178 | exports[`snippet: #12 [typescript] format 1`] = ` |
88 | 179 | "Type parameter list cannot be empty. (1:23) |
89 | 180 | > 1 | (class Foo {get getter<>()}) |
90 | 181 | | ^^ |
91 | 182 | Cause: Type parameter list cannot be empty." |
92 | 183 | `; |
93 | 184 |
|
| 185 | +exports[`snippet: #13 [babel-ts] format 1`] = ` |
| 186 | +"Type argument list cannot be empty. (1:25) |
| 187 | +> 1 | class Foo {property: Bar<> = 1} |
| 188 | + | ^ |
| 189 | +Cause: Type argument list cannot be empty. (1:24)" |
| 190 | +`; |
| 191 | + |
94 | 192 | exports[`snippet: #13 [typescript] format 1`] = ` |
95 | 193 | "Type argument list cannot be empty. (1:25) |
96 | 194 | > 1 | class Foo {property: Bar<> = 1} |
97 | 195 | | ^^ |
98 | 196 | Cause: Type argument list cannot be empty." |
99 | 197 | `; |
100 | 198 |
|
| 199 | +exports[`snippet: #14 [babel-ts] format 1`] = ` |
| 200 | +"Type argument list cannot be empty. (1:26) |
| 201 | +> 1 | (class Foo {property: Bar<> = 1}) |
| 202 | + | ^ |
| 203 | +Cause: Type argument list cannot be empty. (1:25)" |
| 204 | +`; |
| 205 | + |
101 | 206 | exports[`snippet: #14 [typescript] format 1`] = ` |
102 | 207 | "Type argument list cannot be empty. (1:26) |
103 | 208 | > 1 | (class Foo {property: Bar<> = 1}) |
104 | 209 | | ^^ |
105 | 210 | Cause: Type argument list cannot be empty." |
106 | 211 | `; |
107 | 212 |
|
| 213 | +exports[`snippet: #15 [babel-ts] format 1`] = ` |
| 214 | +"Type parameter list cannot be empty. (1:14) |
| 215 | +> 1 | interface Foo<> {} |
| 216 | + | ^ |
| 217 | +Cause: Type parameter list cannot be empty. (1:13)" |
| 218 | +`; |
| 219 | + |
108 | 220 | exports[`snippet: #15 [typescript] format 1`] = ` |
109 | 221 | "Type parameter list cannot be empty. (1:14) |
110 | 222 | > 1 | interface Foo<> {} |
111 | 223 | | ^^ |
112 | 224 | Cause: Type parameter list cannot be empty." |
113 | 225 | `; |
114 | 226 |
|
| 227 | +exports[`snippet: #16 [babel-ts] format 1`] = ` |
| 228 | +"Type parameter list cannot be empty. (1:19) |
| 229 | +> 1 | interface Foo {bar<>()} |
| 230 | + | ^ |
| 231 | +Cause: Type parameter list cannot be empty. (1:18)" |
| 232 | +`; |
| 233 | + |
115 | 234 | exports[`snippet: #16 [typescript] format 1`] = ` |
116 | 235 | "Type parameter list cannot be empty. (1:19) |
117 | 236 | > 1 | interface Foo {bar<>()} |
118 | 237 | | ^^ |
119 | 238 | Cause: Type parameter list cannot be empty." |
120 | 239 | `; |
121 | 240 |
|
| 241 | +exports[`snippet: #17 [babel-ts] format 1`] = ` |
| 242 | +"Type parameter list cannot be empty. (1:16) |
| 243 | +> 1 | interface Foo {<>(): boolean} |
| 244 | + | ^ |
| 245 | +Cause: Type parameter list cannot be empty. (1:15)" |
| 246 | +`; |
| 247 | + |
122 | 248 | exports[`snippet: #17 [typescript] format 1`] = ` |
123 | 249 | "Type parameter list cannot be empty. (1:16) |
124 | 250 | > 1 | interface Foo {<>(): boolean} |
125 | 251 | | ^^ |
126 | 252 | Cause: Type parameter list cannot be empty." |
127 | 253 | `; |
128 | 254 |
|
| 255 | +exports[`snippet: #18 [babel-ts] format 1`] = ` |
| 256 | +"Type argument list cannot be empty. (1:15) |
| 257 | +> 1 | const foo: Foo<> = 1 |
| 258 | + | ^ |
| 259 | +Cause: Type argument list cannot be empty. (1:14)" |
| 260 | +`; |
| 261 | + |
129 | 262 | exports[`snippet: #18 [typescript] format 1`] = ` |
130 | 263 | "Type argument list cannot be empty. (1:15) |
131 | 264 | > 1 | const foo: Foo<> = 1 |
132 | 265 | | ^^ |
133 | 266 | Cause: Type argument list cannot be empty." |
134 | 267 | `; |
135 | 268 |
|
| 269 | +exports[`snippet: #19 [babel-ts] format 1`] = ` |
| 270 | +"Type parameter list cannot be empty. (1:12) |
| 271 | +> 1 | type Foo = <>() => {} |
| 272 | + | ^ |
| 273 | +Cause: Type parameter list cannot be empty. (1:11)" |
| 274 | +`; |
| 275 | + |
136 | 276 | exports[`snippet: #19 [typescript] format 1`] = ` |
137 | 277 | "Type parameter list cannot be empty. (1:12) |
138 | 278 | > 1 | type Foo = <>() => {} |
|
0 commit comments