Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript array of object with types

type submitionDataType = {
    title: string,
    desc: string,
    decks: Array<{ front: string, back: string }>
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #array #object #types
ADD COMMENT
Topic
Name
2+6 =