src/app/app-poll/app-poll.ts
Properties |
answer |
answer:
|
Type : Answer
|
id |
id:
|
Type : number
|
publishedDate |
publishedDate:
|
Type : number
|
title |
title:
|
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
}