Open
Description
The solution here https://github.com/total-typescript/typescript-generics-workshop/blob/main/src/04-generics-advanced/19-generic-interfaces-with-functions.solution.ts gives a Typescript error even though it passes all the tests:
clone: <U>(transform: (elem: T | undefined) => U) => Cache<U>;
seems to fix the issue
Metadata
Metadata
Assignees
Labels
No labels