What is the return type for a function that returns another function
If I understood you correctly, your solution will depend on the type that the “second” function returns. In a nutshell, there are at least 2 ways to do it: Lambda syntax Interfaces (normal and generic interfaces) I’ve tried to explain all these in the code below, please, check it: module main { export class TestClass … Read more