@@ -7,6 +7,12 @@ exports[`snippet: #0 [babel-ts] format 1`] = `
77Cause: 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+
1016exports [` 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`] = `
2127Cause: 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+
2436exports [` 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`] = `
3547Cause: 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+
3856exports [` 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`] = `
249267Cause: 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+
252276exports [` 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`] = `
263287Cause: 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+
266296exports [` 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`] = `
337367Cause: 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+
340376exports [` snippet: #18 [typescript] format 1` ] = `
341377"Type argument list cannot be empty. (1:15)
342378> 1 | const foo: Foo<> = 1
0 commit comments