DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
pass generic type to arow function typescript
const foo = <T>(x: T) => x; // ERROR : unclosed `T` tag
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pass
#generic
#type
#arow
#function
#typescript
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit