src/app/app-poll/app-poll.ts
Properties |
options |
options:
|
Type : Option[]
|
type |
type:
|
Type : string
|
export interface AppPoll{
id: number,
title: string,
publishedDate: number,
answer: Answer
}
export interface Answer{
type: string,
options: Option[];
}
export interface Option{
id: number,
label: string
}