How to declare a delegate type in Typescript?

Posted by Jessica Taylor | Updated on

Want to declare a delegate type in Typescript? In TypeScript, interfaces can have call signatures. In your example, you could declare it like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers