How to redefine type for an existing function in Typescript

Viewed 24
1 Answers

Does this work for you?

const f = function () {} as any;
f.someProperty;
Related