viewer.schema.emit.typescript_source
viewer.schema.emit.typescript_source()The whole generated module, ready to write to :data:TYPESCRIPT_PATH.
Returns
| Name | Type | Description |
|---|---|---|
| str | TypeScript declaring one interface per model, a discriminated union | |
| str | of every patch request, and the union of every compile response. |