mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +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" });
|