DynamicModel creates a new dynamic model with fields from the provided data shape.
Example:
const model = new DynamicModel({ name: "" age: 0, active: false, roles: [], meta: {}}) Copy
const model = new DynamicModel({ name: "" age: 0, active: false, roles: [], meta: {}})
Optional
Generated using TypeDoc
DynamicModel creates a new dynamic model with fields from the provided data shape.
Example: