Files
tsgo/testdata/baselines/reference/submodule/conformance/strictBindCallApply2.js

20 lines
402 B
TypeScript

//// [tests/cases/conformance/functions/strictBindCallApply2.ts] ////
//// [strictBindCallApply2.ts]
// Repro from #32964
interface Foo { blub: string };
function fn(this: Foo) {}
type Test = ThisParameterType<typeof fn>;
const fb = fn.bind({ blub: "blub" });
//// [strictBindCallApply2.js]
"use strict";
// Repro from #32964
;
function fn() { }
const fb = fn.bind({ blub: "blub" });