Last active
July 25, 2019 18:50
-
-
Save armorpreston/811f297d6c50fb0d3c1eb4855dfceb31 to your computer and use it in GitHub Desktop.
List Interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface IListItem { | |
id: string | number; | |
label: string; | |
icon?: string; | |
[additionalProperties: string]: any; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { IListItem } from './list-item.interface'; | |
export interface IList { | |
id?: string | number; | |
label?: string; | |
items: IListItem[]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment