API reference / @chanx-js/codegen / tsType
Function: tsType()
ts
function tsType(schema, indent?): string;Defined in: emit-types.ts:29
Parameters
| Parameter | Type | Default value |
|---|---|---|
schema | JsonSchema | undefined | undefined |
indent | string | '' |
Returns
string