Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

type for object props

type Person = {
  name: {
    first: string;
    last: string;
  };
};
 
PREVIOUS NEXT
Tagged: #type #object #props
ADD COMMENT
Topic
Name
2+1 =