Skip to content

Commit d2c528b

Browse files
committed
Update snapshots
1 parent e5a0953 commit d2c528b

File tree

1 file changed

+36
-0
lines changed
  • tests/format/misc/errors/typescript/empty-type-arguments-parameters/__snapshots__

1 file changed

+36
-0
lines changed

tests/format/misc/errors/typescript/empty-type-arguments-parameters/__snapshots__/format.test.js.snap

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ exports[`snippet: #0 [babel-ts] format 1`] = `
77
Cause: Type argument list cannot be empty. (1:3)"
88
`;
99

10+
exports[`snippet: #0 [oxc-ts] format 1`] = `
11+
"Type argument list cannot be empty. (1:4)
12+
> 1 | foo<>()
13+
| ^^"
14+
`;
15+
1016
exports[`snippet: #0 [typescript] format 1`] = `
1117
"Type argument list cannot be empty. (1:4)
1218
> 1 | foo<>()
@@ -21,6 +27,12 @@ exports[`snippet: #1 [babel-ts] format 1`] = `
2127
Cause: Type argument list cannot be empty. (1:4)"
2228
`;
2329

30+
exports[`snippet: #1 [oxc-ts] format 1`] = `
31+
"Type argument list cannot be empty. (1:5)
32+
> 1 | (foo<>())
33+
| ^^"
34+
`;
35+
2436
exports[`snippet: #1 [typescript] format 1`] = `
2537
"Type argument list cannot be empty. (1:5)
2638
> 1 | (foo<>())
@@ -35,6 +47,12 @@ exports[`snippet: #2 [babel-ts] format 1`] = `
3547
Cause: Type argument list cannot be empty. (1:7)"
3648
`;
3749

50+
exports[`snippet: #2 [oxc-ts] format 1`] = `
51+
"Type argument list cannot be empty. (1:8)
52+
> 1 | new Foo<>()
53+
| ^^"
54+
`;
55+
3856
exports[`snippet: #2 [typescript] format 1`] = `
3957
"Type argument list cannot be empty. (1:8)
4058
> 1 | new Foo<>()
@@ -249,6 +267,12 @@ exports[`snippet: #13 [babel-ts] format 1`] = `
249267
Cause: Type argument list cannot be empty. (1:24)"
250268
`;
251269

270+
exports[`snippet: #13 [oxc-ts] format 1`] = `
271+
"Type argument list cannot be empty. (1:25)
272+
> 1 | class Foo {property: Bar<> = 1}
273+
| ^^"
274+
`;
275+
252276
exports[`snippet: #13 [typescript] format 1`] = `
253277
"Type argument list cannot be empty. (1:25)
254278
> 1 | class Foo {property: Bar<> = 1}
@@ -263,6 +287,12 @@ exports[`snippet: #14 [babel-ts] format 1`] = `
263287
Cause: Type argument list cannot be empty. (1:25)"
264288
`;
265289

290+
exports[`snippet: #14 [oxc-ts] format 1`] = `
291+
"Type argument list cannot be empty. (1:26)
292+
> 1 | (class Foo {property: Bar<> = 1})
293+
| ^^"
294+
`;
295+
266296
exports[`snippet: #14 [typescript] format 1`] = `
267297
"Type argument list cannot be empty. (1:26)
268298
> 1 | (class Foo {property: Bar<> = 1})
@@ -337,6 +367,12 @@ exports[`snippet: #18 [babel-ts] format 1`] = `
337367
Cause: Type argument list cannot be empty. (1:14)"
338368
`;
339369

370+
exports[`snippet: #18 [oxc-ts] format 1`] = `
371+
"Type argument list cannot be empty. (1:15)
372+
> 1 | const foo: Foo<> = 1
373+
| ^^"
374+
`;
375+
340376
exports[`snippet: #18 [typescript] format 1`] = `
341377
"Type argument list cannot be empty. (1:15)
342378
> 1 | const foo: Foo<> = 1

0 commit comments

Comments
 (0)