December 2019
Intermediate to advanced
598 pages
12h 21m
English
We desperately need some data so that we can develop our frontend. In this section, we'll create some mock data in our frontend that will expose a function to get data. We will use this when we plug our real ASP.NET Core backend in. Follow these steps:
export interface QuestionData { questionId: number; title: string; content: string; userName: string; created: Date;}
Before moving on, let's understand the code we have just entered because we have just written some TypeScript.
Read now
Unlock full access