Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript array of objects

interface User {
	[index: number]: {
    	firstname: string;
      	lastname: string;
      	age: number;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #array #objects
ADD COMMENT
Topic
Name
1+3 =