Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

generic arrow function typescript

const foo = <T extends unknown>(x: T) => x;
 
PREVIOUS NEXT
Tagged: #generic #arrow #function #typescript
ADD COMMENT
Topic
Name
3+6 =