file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
crates/swc_ecma_parser/tests/typescript/issue-6430/index.ts | TypeScript | import MyType from "../../../../swc_ecma_transforms_base/tests/ts-resolver/1/input";
type Tmpz = {
<N extends number>(num: N): MyType
<S extends string>(str: S): MyType
}
type Tmp = {
<N extends number>(num: N): typeof num
<S extends string>(str: S): typeof str
}
const foo: Tmp = <T,>(str: T): T => {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-6601/index.tsx | TypeScript (TSX) | function exampleFunction1() {
return Math.random() > 0.5
? `<button
@click="${(): void => console.log('this line causes a syntax error')}"
></button>`
: `<button
@click="${(): void => console.log('this line does NOT causes a syntax error')}"
></button>`;
}
function examp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-6739/1.ts | TypeScript | console.log(x < y >>> z);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-6739/2.tsx | TypeScript (TSX) | console.log(x < y >>> z);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-6851/1.ts | TypeScript | export const useProductAccount = useAccount<
WithAccountHelpers<Account<AccountType>>
> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-6976/1/input.ts | TypeScript | console.log(1 as number > 0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7042/case1/input.ts | TypeScript | class SomeClass {
accessor() {
return 'accessor';
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7042/case2/input.ts | TypeScript | class SomeClass {
accessor: 'accessor'
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7042/case3/input.ts | TypeScript | class SomeClass {
static accessor() {
return 'accessor';
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7186/1/input.ts | TypeScript | export interface PackageManager {
onDidUnloadPackage(callback: (package: Package) => void): Disposable;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7186/2/input.tsx | TypeScript (TSX) | export interface PackageManager {
onDidUnloadPackage(callback: (package: Package) => void): Disposable;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7187/input.ts | TypeScript | assertType<<K>(key: K) => K>(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7224/1/input.tsx | TypeScript (TSX) | const getStatusLabel = () => {
return (
<div>
{disabled ? <StyledComponent className={({ theme }): { [key: string]: any } => ({ color: theme.blue })} /> : null}
</div>
);
};
export default getStatusLabel;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7305/input.ts | TypeScript | type SubtypeGuard<in P, out C extends P> = (object: P) => object is C;
export type IdTypeGuard<out T extends string> = SubtypeGuard<string, T>;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7372/1/input.ts | TypeScript | module
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7372/2/input.tsx | TypeScript (TSX) | module
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7387/input.ts | TypeScript | fn(x < y, x >= y1)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/1/input.ts | TypeScript | fn(z<Number, Object>(y))
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/10/input.ts | TypeScript | fn(x < y, x < y, x >>>= y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/2/input.ts | TypeScript | fn(z<Number, Object> = y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/3/input.ts | TypeScript | fn(x < y, x > y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/4/input.ts | TypeScript | fn(x < y, x >= y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/5/input.ts | TypeScript | fn(x < y, x >> y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/6/input.ts | TypeScript | fn(x < y, x >>= y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/7/input.ts | TypeScript | fn(x < y, x >>>= y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/8/input.ts | TypeScript | fn(x < y, x < y, x >>= y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7403/9/input.ts | TypeScript | fn(x < y, x < y, x >>> y)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7444/1/input.tsx | TypeScript (TSX) | () => <Component<any>></Component>
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7456/1/input.tsx | TypeScript (TSX) | function Form() {
return (
<Select<string>></Select>
);
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-7580/input.tsx | TypeScript (TSX) | const example = () => {
return {
func: callback<typeof something<Type1, Type2>>(options => null)
};
}; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8073/input.ts | TypeScript | avplay.setListener({
onsubtitlechange: (duration, subtitles, type, attributes) => {
duration // $ExpectType string
subtitles // $ExpectType string
type // $ExpectType string
attributes // $ExpectType AVPlaySubtitleAttribute[]
}
}) | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-812/input.ts | TypeScript | class A {
declare() {}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8121/input.ts | TypeScript | type satisfies = 0; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-814/case1/input.ts | TypeScript | const testing = ():
string =>
{
return "";
}; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-814/case2/input.ts | TypeScript | const testing = (
param: string,
other: number,
):
| string
| number
| number
| number
| string =>
{
return 5;
}; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-818/case1/input.ts | TypeScript | export const test = (str: string | undefined):
| string
| undefined => {
return str === undefined ? undefined : str;
}; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-818/case2/input.ts | TypeScript | export const test = (str: string | undefined): | string
| undefined => {
return str === undefined ? undefined : str;
}; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8209/input.ts | TypeScript | const Context = createContext<<Key extends keyof Config>(key: Key) => Config[Key]>(
(key) => properties[key]?.default
); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8308/1/input.ts | TypeScript | import type from from "foo"; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8308/2/input.ts | TypeScript | import type from = require("foo"); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8308/3/input.ts | TypeScript | import type async = require("foo"); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8526/input.ts | TypeScript | class SomeClass {
readonly accessor: string;
constructor() {
this.accessor = '';
}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8581/input.ts | TypeScript | function fun<V>(func: V) {
return func;
}
fun<<V>(key: V) => V>(<A>(x: A) => x)
fun<
<V>(key2: V) => V>(<A>(x: A) => x) | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-861/input.ts | TypeScript | (x) = (6); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8627/1/input.ts | TypeScript | class Module<T> {}
export default Module<number> as unknown;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8627/2/input.ts | TypeScript | class Module<T> {}
export default Module<number> satisfies unknown;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8735/1/input.ts | TypeScript | function getFirstElement<T>(array: T[]): T | null {
return array.length > 0 ? array[0] : null;
}
let myFunction = getFirstElement<number> as any;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-8735/2/input.tsx | TypeScript (TSX) | function getFirstElement<T>(array: T[]): T | null {
return array.length > 0 ? array[0] : null;
}
let myFunction = getFirstElement<number> as any;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-874/input.ts | TypeScript | class A { ; } | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-913/input.ts | TypeScript | import { Rhum } from "../../deps.ts";
import members from "../../members.ts";
import { Drash } from "../../../mod.ts";
Rhum.testPlan("decorators/middleware_test.ts", () => {
Rhum.testSuite("ResourceWithMiddlewareBeforeClass", () => {
Rhum.testCase("header not specified", async () => {
const ser... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-915/input.ts | TypeScript | export class MultipartReader {
readonly newLine = encoder.encode("\r\n");
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-944/input.ts | TypeScript | class CTest {
myFunc = () => "key" in {};
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-947/input.ts | TypeScript | delete obj?.myProp; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-9802/input.ts | TypeScript | import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport.js";
import typia from "typia";
export const parse = (() => {
const __is = (input: any): input is number => "number" === typeof input;
let errors: any;
let _report: any;
const __validate = (input: any): import("typia"... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-9914/1/input.ts | TypeScript | (function* () {
yield <T>(v: T) => v;
}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/issue-9914/2/input.ts | TypeScript | (function* () {
yield <T,>(v: T) => v;
}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/jssue-7428/1/input.ts | TypeScript | class T {
f() { arguments }
static f = class extends T {
x() { arguments }
}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/jssue-7428/2/input.tsx | TypeScript (TSX) | class T {
f() { arguments }
static f = class extends T {
x() { arguments }
}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/meta-property/new-target/in-class/input.ts | TypeScript | class C1 {
constructor() {
new.target;
}
}
class C2 {
constructor() {
const a = () => {
new.target;
};
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/meta-property/new-target/in-function-declaration/input.ts | TypeScript | function f1() {
new.target;
}
function f2() {
const a = () => {
new.target;
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/meta-property/new-target/in-function-expr/input.ts | TypeScript | const f1 = function () {
new.target;
};
const f2 = function () {
const a = () => {
new.target;
};
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/body-declare/input.ts | TypeScript | declare namespace N {
const x: number;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/body-nested-declare/input.ts | TypeScript | declare namespace A {
namespace B {
const x: number;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/body-nested/input.ts | TypeScript | namespace A {
namespace B {
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/body/input.ts | TypeScript | namespace N {
const x = 0;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/declare-shorthand/input.ts | TypeScript | declare module "m";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/global-in-module/input.ts | TypeScript | declare module "m" {
global {
var x: number;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/head-declare/input.ts | TypeScript | declare namespace N.M {}
declare module M {}
declare module "m" {}
declare global {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/head-export/input.ts | TypeScript | export namespace X.Y {}
export module X {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/module-namespace/head/input.ts | TypeScript | namespace N {}
namespace M.N.O {}
module M {}
module "m" {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/mts/1.mts | TypeScript | import path from "node:path";
console.log("hello, world!");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/next/0001/input.tsx | TypeScript (TSX) | import React from "react";
const comp = () => <amp-something className="something" />;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/next/stack-overflow/1/input.ts | TypeScript | (() => {
var __webpack_modules__ = {
6461: (t, e, r) => {
"use strict";
t.exports = {
FileSystemCache: r(3312),
MaxAge: r(7070),
oneBehindFetch: r(534),
log: r(6167),
isAmp: r(4462)
}
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/and-nullish/input.ts | TypeScript | (a && b) ?? c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/associativity/input.ts | TypeScript | a ?? b ?? c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/expression/input.ts | TypeScript | foo ?? 1;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/multiline/input.ts | TypeScript | a
?? b
?? c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/nullish-and/input.ts | TypeScript | a ?? (b && c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/nullish-or/input.ts | TypeScript | a ?? (b || c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/nullish-coalescing-operator/or-nullish/input.ts | TypeScript | (a || b) ?? c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/object/getter-prop/input.ts | TypeScript | const obj = {
get prop1(): string {
return "";
},
get prop2() {
return 5;
}
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/object/method-async-generator/input.ts | TypeScript | const obj = {
async *test(): AsyncIterableIterator<DirEntry> {
},
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/chaining-off-optionally-chained-keys-named-class-or-function/input.ts | TypeScript | foo?.class.bar
foo?.function.bar
foo?.bar?.class.bar
foo?.function?.bar
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/conditional-decimal/input.ts | TypeScript | true?.3:0
true ? .3 : 0
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/constructor-call/input.ts | TypeScript | new A()?.b();
(new A)?.b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/function-call/input.ts | TypeScript | func?.()
func?.(a, b)
a?.func?.()
a?.func?.(a, b)
a.func?.() | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/member-access-bracket/input.ts | TypeScript | obj?.[expr]
obj?.[expr]?.[other]
obj?.[true]
obj?.[true]?.[true]
obj.a?.[expr]
obj.a?.[true] | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/member-access/input.ts | TypeScript | foo?.bar
foo?.bar?.baz
foo.bar?.baz | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/optioanl-chain-expression/input.ts | TypeScript | a.b?.c() | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/optional-tagged-template-literals/input.ts | TypeScript | a?.b`foo` | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/parenthised-chain/input.ts | TypeScript | (a?.b).c;
(a?.b).c();
(a?.b)?.c.d?.e; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/separated-chaining/input.ts | TypeScript | a?.b.c.d.e?.f
a.b.c?.d.e.f
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/super-method-class/input.ts | TypeScript | class A extends B {
constructor(){
super()?.b;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/type-arguments-with-call/input.ts | TypeScript | fn?.<number>();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/optional-chaining/type-arguments/input.ts | TypeScript | example.inner?.greet<string>()
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/regression/destructuring-in-function-type/input.ts | TypeScript | type MyType = ({ theme }: any) => any
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/regression/is-default-export/input.ts | TypeScript | export type T = number;
export enum E {}
export interface I {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/regression/member-expr-assign/input.ts | TypeScript | obj[0]['foo'] = 1
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/regression/tsx-issue-7742/input.ts | TypeScript | interface Foo<G> {
<T>(bar: G): T;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/typescript/stack-size/input.ts | TypeScript | module.exports = function test() {
if (true) {
if (true) {
while (test) {
if (test) {
if (test) {
if (test) {
if (test) {
while (test) {
if ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.