VoidFunction interface should be defined for ES5 target
DRANK
⚙ Compilation target ES5 ⚙ Library lib.es5.d.ts Missing / Incorrect Definition In lib.dom.d.ts and similar files produced by TypeScript-DOM-lib-generator we have: interface VoidFunction { (): void; } This interface is commonly used for frontend development, but it is not defined with recommended Node.js configuration Adding this interface to lib.es5.d.ts will simplify FullStack practices Sample Code type props = { handle: voidFunction; } Documentation Link No response
1 comments
👀👀github.com/microsoft/Type…p