Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

type for object props

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