This article will complement the previous one on partial application, by developing full typing in TypeScript. It happens that typing our function is not trivial, and requires several interesting techniques. In this article we’ll complete the work from the previous article, going from JavaScript to TypeScript, and adding full type controls.
Table of contents
Check matching typesDeduce pending parametersComplete typingFinish the jobConclusionSort: