Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript map interface

export interface IMap<I extends string | number, T> {
  [property: I]: T;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #map #interface
ADD COMMENT
Topic
Name
3+1 =