Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript generic type

function identity<T>(arg: T): T {
  return arg;
}Try
Source by www.typescriptlang.org #
 
PREVIOUS NEXT
Tagged: #typescript #generic #type
ADD COMMENT
Topic
Name
3+4 =