Adding the model

We need to type what our counter-list should contain. For that we need to create a model:

// counter/counter-list/counter.model.ts

export interface Counter {
title: string;
id: number;
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.186.92