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/disallow-jsx-ambiguity/type-assertion/input.ts
packages/babel-parser/test/fixtures/typescript/disallow-jsx-ambiguity/type-assertion/input.ts
<T>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/disallow-jsx-ambiguity/type-parameter/input.ts
packages/babel-parser/test/fixtures/typescript/disallow-jsx-ambiguity/type-parameter/input.ts
<T>() => 1; <T>(x) => 1; <T = unknown>(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/class/extends/input.ts
packages/babel-parser/test/fixtures/typescript/class/extends/input.ts
class C extends f()<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/class/abstract/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract/input.ts
abstract class C1 {} declare abstract class C2 {} export abstract class C3 {} // `export abstract class {}` is not valid TypeScript. export default abstract class { } export default abstract class C4 { } // `abstract class` is not valid as an expression. export default abstract class C5 { abstract foo(): 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/class/private-fields-modifier-private/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields-modifier-private/input.ts
class A { private #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/class/static/input.ts
packages/babel-parser/test/fixtures/typescript/class/static/input.ts
class C { static f(); public static f(); protected static f(); private static 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/class/implements-empty/input.ts
packages/babel-parser/test/fixtures/typescript/class/implements-empty/input.ts
class Foo implements { }
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/class/duplicates-accessibility/input.ts
packages/babel-parser/test/fixtures/typescript/class/duplicates-accessibility/input.ts
class Foo { public public a; private public b; protected private c; public protected d; public protected private e; }
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/class/async-named-properties/input.ts
packages/babel-parser/test/fixtures/typescript/class/async-named-properties/input.ts
class A { async?(): void async?: boolean }
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/class/parameter-properties/input.ts
packages/babel-parser/test/fixtures/typescript/class/parameter-properties/input.ts
class C { constructor( readonly r, public pu: number, protected po?, private pi?: number, public readonly pur, // Also works on AssignmentPattern readonly x = 0, public y?: number = 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/class/declare-get-set-field/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-get-set-field/input.ts
class C { declare get: string declare 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/class/duplicate-modifier-2/input.ts
packages/babel-parser/test/fixtures/typescript/class/duplicate-modifier-2/input.ts
class A { declare public static declare 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/class/constructor-with-override-modifer-names/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor-with-override-modifer-names/input.ts
class D extends B { constructor(override foo: string) { super(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/class/generic/input.ts
packages/babel-parser/test/fixtures/typescript/class/generic/input.ts
class C<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/class/method-with-newline-without-body/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-with-newline-without-body/input.ts
class C { m() 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/class/abstract-method-in-non-abstract-class-3/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-method-in-non-abstract-class-3/input.ts
abstract class C { p = class { abstract method() } }
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/class/declare-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-new-line/input.ts
declare class 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/class/abstract-method-with-body/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-method-with-body/input.ts
abstract class Foo { abstract method() {} }
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/class/modifiers-incompatible/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-incompatible/input.ts
abstract class A extends Base { static abstract m1(); abstract static m1(); declare override prop1: any; override declare prop2: any; }
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/class/extends-empty/input.ts
packages/babel-parser/test/fixtures/typescript/class/extends-empty/input.ts
interface foo extends { }
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/class/modifier-name-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifier-name-parameters/input.ts
class Foo { constructor(private, public, static) { } }
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/class/method-optional/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-optional/input.ts
class C { 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/class/declare-field-initializer/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-field-initializer/input.ts
class A { declare bar: string = "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/class/private-fields-modifier-abstract/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields-modifier-abstract/input.ts
abstract class A { abstract #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/class/private-fields-static/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields-static/input.ts
class A { static #x; static #y: 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/class/constructor-with-invalid-order-modifiers-2/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor-with-invalid-order-modifiers-2/input.ts
class D extends B { constructor(readonly public 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/class/abstract-method-in-non-abstract-class-2/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-method-in-non-abstract-class-2/input.ts
abstract class Foo { method() { return class { abstract 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/class/declare-initializer/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-initializer/input.ts
declare class C { field = "field"; }
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/class/declare-new-line-abstract/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-new-line-abstract/input.ts
declare abstract class 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/class/expression-implements/input.ts
packages/babel-parser/test/fixtures/typescript/class/expression-implements/input.ts
(class implements X.Y<T> {}); (class C implements X.Y<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/class/method-with-newline-with-body/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-with-newline-with-body/input.ts
class C { 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/class/constructor-with-invalid-order-modifiers-1/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor-with-invalid-order-modifiers-1/input.ts
class D extends B { constructor(readonly override 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/class/private-fields-modifier-protected/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields-modifier-protected/input.ts
class A { protected #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/class/empty-type-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/class/empty-type-parameters/input.ts
class 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/class/constructor/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor/input.ts
class C { constructor(x: number, y: number); constructor(x: string, y: string); constructor(x: any, y: any) {} }
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/class/members-with-reserved-names/input.ts
packages/babel-parser/test/fixtures/typescript/class/members-with-reserved-names/input.ts
class C { public delete(): 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/class/method-with-modifiers-asi/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-with-modifiers-asi/input.ts
class C { public private() {} static readonly protected() {} }
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/class/private-fields-modifier-readonly/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields-modifier-readonly/input.ts
class A { readonly #a; readonly #b: 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/class/declare-method/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-method/input.ts
class A { declare 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/class/predicate-types/input.ts
packages/babel-parser/test/fixtures/typescript/class/predicate-types/input.ts
class Foo { isBar(): this is string { } isBaz = (): this is 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/class/constructor-with-invalid-order-modifiers-3/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor-with-invalid-order-modifiers-3/input.ts
class D extends B { constructor(override readonly public 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/class/properties/input.ts
packages/babel-parser/test/fixtures/typescript/class/properties/input.ts
class C { x; x?; x: number; x: number = 1; x!; 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/class/property-computed/input.ts
packages/babel-parser/test/fixtures/typescript/class/property-computed/input.ts
class C { [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/class/invalid-modifiers-order/input.ts
packages/babel-parser/test/fixtures/typescript/class/invalid-modifiers-order/input.ts
class Foo extends Bar { override private foo1: string readonly private foo2: string; readonly private override foo3: string; private readonly override foo4: 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/class/expression-generic/input.ts
packages/babel-parser/test/fixtures/typescript/class/expression-generic/input.ts
(class<T> {}); (class C<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/class/abstract-property-initializer/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-property-initializer/input.ts
abstract class Foo { abstract prop = 1 abstract [Bar.foo] = 2 abstract [Bar] = 3 abstract 2 = 4 abstract "c" = 5 }
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/class/property-optional-definite-assignment-not-allowed/input.ts
packages/babel-parser/test/fixtures/typescript/class/property-optional-definite-assignment-not-allowed/input.ts
class C { 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/class/protected-static/input.ts
packages/babel-parser/test/fixtures/typescript/class/protected-static/input.ts
class C { protected static static 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/class/method-modifier-name-with-type-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-modifier-name-with-type-parameters/input.ts
class C { declare<T>() {} readonly<T>() {} abstract<T>() {} static<T>() {} private<T>() {} public<T>() {} protected<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/class/modifiers-methods-async/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-methods-async/input.ts
// Copy of modifiers-methods with 'async' abstract class C { abstract async a(); static async s() {} public abstract async pua(); public static async pus() {} public async pu() {} protected async po() {} private async pi() {} }
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/class/modifiers-properties/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-properties/input.ts
abstract class C { readonly r; readonly r2?: number; abstract a; static s; public pu; protected po; private pi; readonly abstract ra; abstract readonly ar; static readonly sr; public readonly pur; public abstract pua; public static pus; public readonly abstract...
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/class/optional-generator/input.ts
packages/babel-parser/test/fixtures/typescript/class/optional-generator/input.ts
class A { *[a?.b]?() { }; } class B { foo?() { }; *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/class/accessor-invalid/input.ts
packages/babel-parser/test/fixtures/typescript/class/accessor-invalid/input.ts
abstract class Foo { declare accessor prop7: number; private accessor #p: any; accessor a!; abstract accessor #s; accessor #d?; abstract accessor f = 1; readonly accessor g; } declare class C { accessor x = 1; #y = 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/class/generator-method-with-modifiers/input.ts
packages/babel-parser/test/fixtures/typescript/class/generator-method-with-modifiers/input.ts
class C { private *a() {} public *b() {} static *c() {} abstract *d() {} readonly *e() {} declare *f() {} protected *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/class/modifiers-override-errors/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-override-errors/input.ts
class MyClass2 extends BaseClass { override constructor() {} override [x: string]: any; } class MyClass4 { override prop: any }
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/class/declare-readonly-field-initializer/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-readonly-field-initializer/input.ts
class A { declare readonly bar = "test"; declare readonly foo = 1; declare readonly baz = 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/class/index-signature/input.ts
packages/babel-parser/test/fixtures/typescript/class/index-signature/input.ts
class C { [x: string]: any; readonly [x: string]: any; static [x: string]: any; static readonly [x: string]: any; }
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/class/modifiers-invalid-order/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-invalid-order/input.ts
abstract class A extends B { static override m1() {} override static m2() {} override readonly p4; readonly override p3; public override m5() {} override public m6() {} protected override m7() {} override protected m8() {} private override m9() {} override private m10() {} abstract override 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/class/abstract-new-line/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-new-line/input.ts
abstract class 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/class/accessor/input.ts
packages/babel-parser/test/fixtures/typescript/class/accessor/input.ts
abstract class Foo { accessor prop: number = 1; static accessor prop2: number = 1; accessor #prop3: number = 1; accessor [prop4]: number = 1; private accessor prop5: number = 1; abstract accessor prop6: 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/class/method-generic/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-generic/input.ts
class C { f<T>(a: T, b?: T, ...c: T[]): T {} [Symbol.iterator]<T>(): 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/class/modifiers-override/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts
class MyClass extends BaseClass { override show() {} public override show() {} override size = 5; override readonly size = 5; override get text() {} override set text(value) {} override async fetch() {} override [x] = 2 override [x]() {} } declare class DeclaredClass extends BaseClass { override...
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/class/parameter-properties-with-decorators/input.ts
packages/babel-parser/test/fixtures/typescript/class/parameter-properties-with-decorators/input.ts
class C { constructor(@foo 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/class/method-readonly/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-readonly/input.ts
class C { readonly 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/class/method-computed/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-computed/input.ts
class C { [Symbol.iterator](): void; [Symbol.iterator]?(): 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/class/duplicate-modifier-1/input.ts
packages/babel-parser/test/fixtures/typescript/class/duplicate-modifier-1/input.ts
class A { declare public declare 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/class/method-return-type/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-return-type/input.ts
class C { f(): 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/class/optional-generator-method-with-modifiers/input.ts
packages/babel-parser/test/fixtures/typescript/class/optional-generator-method-with-modifiers/input.ts
class C { private *a?() { } public *b?() { } static *c?() { } protected *g?() { } } class A { private *[a?.a]?() { } public *[b?.b]?() { } static *[c?.c]?() { } protected *[g?.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/class/abstract-method-in-non-abstract-class-1/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-method-in-non-abstract-class-1/input.ts
class Foo { abstract method(); }
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/class/members-with-modifier-names/input.ts
packages/babel-parser/test/fixtures/typescript/class/members-with-modifier-names/input.ts
class C { public(): void; public static(): void; readonly = 0; async<T>(): void; abstract!: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/class/declare-accessor/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-accessor/input.ts
class Foo { declare get foo() declare set foo(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/class/parameter-properties-binding-patterns/input.ts
packages/babel-parser/test/fixtures/typescript/class/parameter-properties-binding-patterns/input.ts
class C { constructor(public []) {} } class D { constructor(public {}) {} }
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/class/declare/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare/input.ts
declare class C { [x: string]: any; x; x: number; f(); f(): 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/class/modifiers-accessors/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-accessors/input.ts
// Copy of modifiers-methods with 'get' abstract class C { abstract get a(); static get s() { return 0; } public abstract get pua(); public static get pus() { return 0; } public get pu() { return 0; } protected get po() { return 0; } private get pi() { return 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/class/expression-extends/input.ts
packages/babel-parser/test/fixtures/typescript/class/expression-extends/input.ts
(class extends f()<T> {}); (class C extends f()<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/class/index-signature-errors/input.ts
packages/babel-parser/test/fixtures/typescript/class/index-signature-errors/input.ts
class C { readonly static [x: string]: any; }
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/class/parameter-properties-not-constructor/input.ts
packages/babel-parser/test/fixtures/typescript/class/parameter-properties-not-constructor/input.ts
class C { not_constructor( readonly r, public pu: number, protected po?, private pi?: number, public readonly pur, // Also works on AssignmentPattern readonly x = 0, public y?: number = 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/class/extends-implements-empty/input.ts
packages/babel-parser/test/fixtures/typescript/class/extends-implements-empty/input.ts
class Foo extends Bar implements { }
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/class/declare-readonly-field-initializer-w-annotation/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-readonly-field-initializer-w-annotation/input.ts
class A { declare readonly bar: string = "test"; declare baz: string = "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/class/optional-generator-method-with-invalid-modifiers/input.ts
packages/babel-parser/test/fixtures/typescript/class/optional-generator-method-with-invalid-modifiers/input.ts
class C { abstract *d?() { } readonly *e?() { } declare *f?() { } } class A { abstract *[d?.d]?() { } readonly *[e?.e]?() { } declare *[f?.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/class/constructor-with-type-parameters/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor-with-type-parameters/input.ts
class C { constructor<T>(foo: 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/class/expression-extends-implements/input.ts
packages/babel-parser/test/fixtures/typescript/class/expression-extends-implements/input.ts
(class extends f()<T> implements X.Y<T> {}); (class C extends f()<T> implements X.Y<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/class/get-generic/input.ts
packages/babel-parser/test/fixtures/typescript/class/get-generic/input.ts
declare class C { get<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/class/method-no-body/input.ts
packages/babel-parser/test/fixtures/typescript/class/method-no-body/input.ts
class C { f(); f(): 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/class/private-method-overload/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-method-overload/input.ts
class Test { #f(x: string): number; #f(x: number): string; #f(x: string | number): string | number { return (typeof x === 'string') ? parseInt(x) : x.toString(); } }
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/class/private-fields/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields/input.ts
class A { #a: string; #b?; #c?: number; #d!; #e!: boolean; }
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/class/declare-field/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-field/input.ts
class A { declare foo; declare bar: 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/class/static-asi/input.ts
packages/babel-parser/test/fixtures/typescript/class/static-asi/input.ts
class A { static prop = 1 static #prop = 2 static ["computed prop"]: any static method() {} static #method() {} static *generator() {} static async asyncMethod() {} }
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/class/constructor-with-modifier-names/input.ts
packages/babel-parser/test/fixtures/typescript/class/constructor-with-modifier-names/input.ts
class Foo { constructor(set, readonly) {} constructor(set: any, readonly: boolean) {} }
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/class/static-static/input.ts
packages/babel-parser/test/fixtures/typescript/class/static-static/input.ts
class C { static static static 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/class/declare-field-modifiers/input.ts
packages/babel-parser/test/fixtures/typescript/class/declare-field-modifiers/input.ts
class A { declare static foo; static declare foo0: string; declare public foo1; public declare foo2; declare public static foo4; public declare static foo3; public static declare foo5; }
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/class/abstract-false-positive/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-false-positive/input.ts
// Exports an identifier, doesn't try parsing `abstract class` export default abstract;
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/class/implements/input.ts
packages/babel-parser/test/fixtures/typescript/class/implements/input.ts
class C implements X.Y<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/class/modifiers-index-signatures/input.ts
packages/babel-parser/test/fixtures/typescript/class/modifiers-index-signatures/input.ts
class C { abstract [key: string]: string; declare [key: string]: string; private [key: string]: string; public [key: string]: string; protected [key: string]: 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/class/abstract-method-with-body-computed/input.ts
packages/babel-parser/test/fixtures/typescript/class/abstract-method-with-body-computed/input.ts
abstract class Foo { abstract [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/class/private-fields-modifier-public/input.ts
packages/babel-parser/test/fixtures/typescript/class/private-fields-modifier-public/input.ts
class A { public #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/class/extends-implements/input.ts
packages/babel-parser/test/fixtures/typescript/class/extends-implements/input.ts
class C extends f()<T> implements X.Y<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/arrow-function/async-rest/input.ts
packages/babel-parser/test/fixtures/typescript/arrow-function/async-rest/input.ts
async (...args: any[]) : any => {}
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/arrow-function/destructuring/input.ts
packages/babel-parser/test/fixtures/typescript/arrow-function/destructuring/input.ts
({ a = 0 }) => 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/arrow-function/async-arrow-function-asi/input.ts
packages/babel-parser/test/fixtures/typescript/arrow-function/async-arrow-function-asi/input.ts
var a = {} // Should be parsed as an async arrow and an assignment expression async<T,>() => {} (a as any).b = 1;
typescript
MIT
30af57a25649635268e0a9ecdfae99bdd5dda5b4
2026-01-04T15:46:08.418221Z
false