A simplified way to generate masive mock data based on a schema, you can use the awesome fake/random data generators like (FakerJs, ChanceJs, CasualJs and RandExpJs)
In general usage Generator instance's object attribute will have a predefined data type. Adding the ability to make this type a generic will allow a typescript user to define the expected type without casting to any. This is useful when writing virtuals where we access directly the object attribute.
Rationale
In general usage Generator instance's object attribute will have a predefined data type. Adding the ability to make this type a generic will allow a typescript user to define the expected type without casting to any. This is useful when writing virtuals where we access directly the object attribute.
Attachment
See the compiler errors