swc/crates/swc_ecma_codegen/tests/fixture/stc/0001/input.ts
2021-11-10 19:00:54 +09:00

15 lines
281 B
TypeScript

interface I {
(strs: TemplateStringsArray, ...subs: number[]): I;
member: {
new(s: string): {
new(n: number): {
new(): boolean;
}
}
};
}
var f: I;
var x = new new new f`abc${0}def`.member("hello")(42) === true;