Answers for "ts variable accepts array of an interface"

0

typescript type array of interface

// source: https://stackoverflow.com/questions/25469244/how-can-i-define-an-interface-for-an-array-of-objects

interface EnumServiceItem {
    id: number; label: string; key: any
}

interface EnumServiceItems extends Array<EnumServiceItem>{}
Posted by: Guest on November-09-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language