mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
12 lines
225 B
TypeScript
12 lines
225 B
TypeScript
// @strictFunctionTypes: false
|
|
// @strictBindCallApply: true
|
|
|
|
// Repro from #32964
|
|
|
|
interface Foo { blub: string };
|
|
function fn(this: Foo) {}
|
|
|
|
type Test = ThisParameterType<typeof fn>;
|
|
|
|
const fb = fn.bind({ blub: "blub" });
|