typeOf() function
The TypeScript spelling of a field, and the @property type string.
Signature:
export declare function typeOf(field: Field, enums: Record<string, EnumDef>, listEnum?: string): {
ts: string;
wire: string;
};
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
field | ||
|
enums |
Record<string, EnumDef> | |
|
listEnum |
string |
(Optional) |
Returns:
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.