...
/Creating Mock Widgets and People
Creating Mock Widgets and People
Create mock data for an application that conforms to the new interfaces, IWidget and IPerson.
We'll cover the following...
Before we dive into creating our first major functionality, a generic search, we should do some work to include data and some simple rendering in our application. The mock data will give us concrete values that make it easier to test the functions we write.
The benefits of creating mock data
So far, we’ve used relatively simple types in our generic TypeScript ...