repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/declare-as-or-satisfies/input.ts
packages/babel-parser/test/fixtures/typescript/cast/declare-as-or-satisfies/input.ts
declare as number; declare satisfies number;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/multiple-assert-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/multiple-assert-and-assign/input.ts
(a as number as any) = 42;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/for-of-lhs/input.ts
packages/babel-parser/test/fixtures/typescript/cast/for-of-lhs/input.ts
for (a as T of []); for (<T> a of []);
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign-2/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign-2/input.ts
x! *= 1
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/arrow-parameter-assertion/input.ts
packages/babel-parser/test/fixtures/typescript/cast/arrow-parameter-assertion/input.ts
(<T> a) => {};
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/unparenthesized-assert-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/unparenthesized-assert-and-assign/input.ts
foo as any = 10; ({ a: b as any = 2000 } = x);
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/unparenthesized-type-assertion-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/unparenthesized-type-assertion-and-assign/input.ts
<string>foo = '100';
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/destructuring-assignent-rest-invalid/input.ts
packages/babel-parser/test/fixtures/typescript/cast/destructuring-assignent-rest-invalid/input.ts
0, { ...{} as T} = b; [...[] as T] = b; 0, { ...({} as T)} = b; [...([] as T)] = b;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/arrow-async-parameter-as/input.ts
packages/babel-parser/test/fixtures/typescript/cast/arrow-async-parameter-as/input.ts
async (a as T) => {};
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/parenthesized-null-assertion-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/parenthesized-null-assertion-and-assign/input.ts
(x!) = null;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/false-positive/input.ts
packages/babel-parser/test/fixtures/typescript/cast/false-positive/input.ts
f(x < 0, /a/);
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-relational/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-relational/input.ts
x.v! < y.v!;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/assert-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/assert-and-assign/input.ts
(a as number) = 42; ({ a: (b as any) = 2000 } = x);
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/parenthesized-type-assertion-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/parenthesized-type-assertion-and-assign/input.ts
(<number>x) = null
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/arrow-in-parens-with-parens-node/input.ts
packages/babel-parser/test/fixtures/typescript/cast/arrow-in-parens-with-parens-node/input.ts
var asserted1 = <any>((n) => { return n; });
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion/input.ts
x!;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/arrow-async-parameter-assertion/input.ts
packages/babel-parser/test/fixtures/typescript/cast/arrow-async-parameter-assertion/input.ts
async (<T> a) => {};
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-after-operator/input.ts
packages/babel-parser/test/fixtures/typescript/cast/type-assertion-after-operator/input.ts
1 + <number> 1;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/need-parentheses/input.ts
packages/babel-parser/test/fixtures/typescript/cast/need-parentheses/input.ts
(<T> x).y; (x as T).y; x!.y;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign/input.ts
x! += 1;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/nested-parenthesized-assert-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/nested-parenthesized-assert-and-assign/input.ts
((a as any) as string) = null
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-before-operator/input.ts
packages/babel-parser/test/fixtures/typescript/cast/type-assertion-before-operator/input.ts
<number> 1 + 1;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/type-assertion-and-assign/input.ts
(<number> x) += 1;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/type-assertion/input.ts
packages/babel-parser/test/fixtures/typescript/cast/type-assertion/input.ts
<number> 1;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-2/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-2/input.ts
x! / 2
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-3/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-3/input.ts
const x = foo()!;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/satisfies-const-error/input.ts
packages/babel-parser/test/fixtures/typescript/cast/satisfies-const-error/input.ts
x satisfies const
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/arrow-parameter-as/input.ts
packages/babel-parser/test/fixtures/typescript/cast/arrow-parameter-as/input.ts
(a as T) => {};
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/abstract-as-or-satisfies/input.ts
packages/babel-parser/test/fixtures/typescript/cast/abstract-as-or-satisfies/input.ts
abstract as number; abstract satisfies number;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/destructure-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/destructure-and-assign/input.ts
[a as number] = [42]; [<number>a] = [42];
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/invalid/input.ts
packages/babel-parser/test/fixtures/typescript/cast/invalid/input.ts
(a:b); (a:b,c:d); [a:b]; [a:b, c:d];
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/arrow-in-parens/input.ts
packages/babel-parser/test/fixtures/typescript/cast/arrow-in-parens/input.ts
var asserted1 = <any>((n) => { return n; });
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/as/input.ts
packages/babel-parser/test/fixtures/typescript/cast/as/input.ts
x as T; x < y as boolean; // (x < y) as boolean; x as boolean <= y; // (x as boolean) <= y; x === 1 as number; // x === (1 as number); x as any as T; x as boolean ?? y; // (x as boolean) ?? y;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/parenthesized-assert-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/parenthesized-assert-and-assign/input.ts
(a as any) = null
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/parameter-typecast/input.ts
packages/babel-parser/test/fixtures/typescript/cast/parameter-typecast/input.ts
func(a: T); func<T>(a: T);
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-then-property-access/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-then-property-access/input.ts
x!.y;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-invalid-arrow-param/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-invalid-arrow-param/input.ts
(a!) => b; (a! = b) => c; ([a!]) => c; ({a: a!}) => c; ([...a!]) => c; ({...a!}) => c;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/parenthesized-as-and-assign/input.ts
packages/babel-parser/test/fixtures/typescript/cast/parenthesized-as-and-assign/input.ts
(a as number) = 42;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-false-positive/input.ts
packages/babel-parser/test/fixtures/typescript/cast/null-assertion-false-positive/input.ts
a !b
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/cast/as-const/input.ts
packages/babel-parser/test/fixtures/typescript/cast/as-const/input.ts
// Copied over from TypeScript's test case // https://github.com/Microsoft/TypeScript/blob/master/tests/baselines/reference/constAssertions.js let v1 = 'abc' as const; let v2 = `abc` as const; let v3 = 10 as const; let v4 = -10 as const; let v5 = +10 as const; let v6 = 10 as const; let v7 = -10 as const; let v8 = true ...
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-asi/input.ts
packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-asi/input.ts
let x !function() {};
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment-not-allowed/input.ts
packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment-not-allowed/input.ts
let {}! = {};
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment/input.ts
packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment/input.ts
let x!: number;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/declare-shorthand/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/declare-shorthand/input.ts
declare module "m";
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/top-level-await/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/top-level-await/input.ts
namespace N { const x = await 42; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-new-line/input.ts
namespace Foo {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/head/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/head/input.ts
namespace N {} namespace M.N.O {} module M {} module "m" {} module 'n' {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/module-declare-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/module-declare-new-line/input.ts
declare module 'foo' {} declare module 'bar' {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/head-declare/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/head-declare/input.ts
declare namespace N.M {} declare module M {} declare module "m" {} declare global {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-new-line-error/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-new-line-error/input.ts
namespace Foo {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-as-or-satisfies-brackets/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-as-or-satisfies-brackets/input.ts
namespace as {} namespace satisfies {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/body-nested/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/body-nested/input.ts
namespace A { namespace B { } }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/module-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/module-new-line/input.ts
module Foo {} module 'm' {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/body/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/body/input.ts
namespace N { const x = 0; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/body-nested-declare/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/body-nested-declare/input.ts
declare namespace A { namespace B { const x: number; } }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/head-export/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/head-export/input.ts
export namespace X.Y {} export module X {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/module-new-line-error/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/module-new-line-error/input.ts
module Foo {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/body-declare/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/body-declare/input.ts
declare namespace N { const x: number; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/module-as-or-satisfies-brackets/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/module-as-or-satisfies-brackets/input.ts
module as {} module satisfies {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/global-in-module/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/global-in-module/input.ts
declare module "m" { global { var x: number; } }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-declare-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/module-namespace/namespace-declare-new-line/input.ts
declare namespace foofoo {} declare namespace barbar {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/legacy-decorators/type-arguments/input.ts
packages/babel-parser/test/fixtures/typescript/legacy-decorators/type-arguments/input.ts
@decorator<string>() class Test {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/legacy-decorators/abstract-class/input.ts
packages/babel-parser/test/fixtures/typescript/legacy-decorators/abstract-class/input.ts
@decorate() abstract class Test extends Object { constructor() { super(); } }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/extends/input.ts
packages/babel-parser/test/fixtures/typescript/interface/extends/input.ts
interface I extends X.Y<Z> {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/new-line-error/input.ts
packages/babel-parser/test/fixtures/typescript/interface/new-line-error/input.ts
interface F {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/abstract/input.ts
packages/babel-parser/test/fixtures/typescript/interface/abstract/input.ts
abstract interface Foo { foo: string; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/separators/input.ts
packages/babel-parser/test/fixtures/typescript/interface/separators/input.ts
interface Comma { x: number, y: number } interface Semi { x: number; y: number } interface Newline { x: number y: number }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/method-plain/input.ts
packages/babel-parser/test/fixtures/typescript/interface/method-plain/input.ts
interface I { m(); m(x?: number, ...y: number[]): void; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/invalid-modifiers-method/input.ts
packages/babel-parser/test/fixtures/typescript/interface/invalid-modifiers-method/input.ts
interface Foo { private a(); public b(); protected c(); static d(); declare e(); abstract f(); readonly g(); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/function-like-node-5/input.ts
packages/babel-parser/test/fixtures/typescript/interface/function-like-node-5/input.ts
interface Foo { foo<T>(x: number): void; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-methods/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-methods/input.ts
interface Foo { get(): string; set(): string; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-reset-parameter-babel-7/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-reset-parameter-babel-7/input.ts
interface Foo { set bar(...v); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-optional-parameter/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-optional-parameter/input.ts
interface Foo { set bar(foo?: string); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/generic/input.ts
packages/babel-parser/test/fixtures/typescript/interface/generic/input.ts
interface I<T extends object = { x: number }> {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/declare-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/interface/declare-new-line/input.ts
declare interface I {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/pattern-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/interface/pattern-parameters/input.ts
interface A { foo([]?): void; bar({}, []?): any; baz(a: string, b: number, []?): void; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/call-signature/input.ts
packages/babel-parser/test/fixtures/typescript/interface/call-signature/input.ts
interface I { (x: number): void; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/method-optional/input.ts
packages/babel-parser/test/fixtures/typescript/interface/method-optional/input.ts
interface I { m?(): void; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/interface-as-or-satisfies-brackets/input.ts
packages/babel-parser/test/fixtures/typescript/interface/interface-as-or-satisfies-brackets/input.ts
interface as {} interface satisfies {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-this-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-this-parameters/input.ts
interface Foo { get bar(this: Foo); set bar(this: Foo); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-type-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-type-parameters/input.ts
interface Foo { get foo<T>(): string; set bar<T>(v); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/modifiers/input.ts
packages/babel-parser/test/fixtures/typescript/interface/modifiers/input.ts
interface I { readonly x: number; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-parameters/input.ts
interface Foo { get foo(param): string; set foo(); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-ambiguous/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-ambiguous/input.ts
interface Foo { get foo(): string; set bar(v); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/invalid-extends/input.ts
packages/babel-parser/test/fixtures/typescript/interface/invalid-extends/input.ts
// Every extend element here is invalid interface Invalid extends (foo.bar), (foo).bar, foo[bar], foo?.bar, foo!.bar, foo(), import.meta {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set/input.ts
interface Foo { get foo(): string; set bar(v); }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/extends-identifier-type-arguments/input.ts
packages/babel-parser/test/fixtures/typescript/interface/extends-identifier-type-arguments/input.ts
interface I extends X<Z>, Y<Z> {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/properties/input.ts
packages/babel-parser/test/fixtures/typescript/interface/properties/input.ts
interface I { x; y: number; z?: number; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/property-computed/input.ts
packages/babel-parser/test/fixtures/typescript/interface/property-computed/input.ts
interface I { [Symbol.iterator]: number; [Symbol.iterator]?: number; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/new-line/input.ts
packages/babel-parser/test/fixtures/typescript/interface/new-line/input.ts
interface F {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/export-default/input.ts
packages/babel-parser/test/fixtures/typescript/interface/export-default/input.ts
export default interface {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/invalid-abstract-interface/input.ts
packages/babel-parser/test/fixtures/typescript/interface/invalid-abstract-interface/input.ts
abstract interface Foo {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-return-types/input.ts
packages/babel-parser/test/fixtures/typescript/interface/get-set-invalid-return-types/input.ts
interface Foo { set foo(param): string; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/function-like-node-3/input.ts
packages/babel-parser/test/fixtures/typescript/interface/function-like-node-3/input.ts
type Foo = new <T>() => void;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/index-signature/input.ts
packages/babel-parser/test/fixtures/typescript/interface/index-signature/input.ts
interface I { [s: string]: number; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/method-generic/input.ts
packages/babel-parser/test/fixtures/typescript/interface/method-generic/input.ts
interface I { m<T extends object = { x: number }>(): T; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/method-computed/input.ts
packages/babel-parser/test/fixtures/typescript/interface/method-computed/input.ts
interface I { [Symbol.iterator](): void; [Symbol.iterator]?(): number; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/property-initializer/input.ts
packages/babel-parser/test/fixtures/typescript/interface/property-initializer/input.ts
interface I { x: number = 1;}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/invalid-get-properties/input.ts
packages/babel-parser/test/fixtures/typescript/interface/invalid-get-properties/input.ts
interface Foo { get foo: string; }
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false
babel/babel
https://github.com/babel/babel/blob/30af57a25649635268e0a9ecdfae99bdd5dda5b4/packages/babel-parser/test/fixtures/typescript/interface/export/input.ts
packages/babel-parser/test/fixtures/typescript/interface/export/input.ts
export interface I {} export default interface A {}
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false