Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 289 Bytes
const CANDIDATES = [
{name: 'Americano', votes: 5},
{name: 'Cappuccino', votes: 4},
{name: 'Espresso', votes: 3},
{name: 'Macchiato', votes: 2},
{name: 'Café Latte', votes: 1},
];
export class CoffeeElectionState {
candidates: {name: string, votes: number}[] = CANDIDATES;
}