Generate Mock Data From Typescript Interface

Typescript Getting Started with Interfaces

Generate Mock Data From Typescript Interface. Web it needs to work on interfaces with all kinds of types, and fake data that generates should be of type that variable. Web is it possible in typescript to have a generic method that would return a object of that datatype?

Typescript Getting Started with Interfaces
Typescript Getting Started with Interfaces

Web it needs to work on interfaces with all kinds of types, and fake data that generates should be of type that variable. Web is it possible in typescript to have a generic method that would return a object of that datatype?

Web it needs to work on interfaces with all kinds of types, and fake data that generates should be of type that variable. Web it needs to work on interfaces with all kinds of types, and fake data that generates should be of type that variable. Web is it possible in typescript to have a generic method that would return a object of that datatype?