SyntaxFix
Write A Post
Hire A Developer
Questions
type FunctionName = (n: inputType) => any; class ClassName { save(callback: FunctionName) : void { callback(data); } }
This surely aligns with the functional programming paradigm.