PropertyDescription interface

Description of one property of an exposed complex type.

Signature:

export interface PropertyDescription 

Properties

Property

Modifiers

Type

Description

isOptional

boolean

Whether the property is optional, from the second argument of property(). Defaults to false, and is never inferred from a TypeScript ? modifier.

type

string

The property's RPC type as a string — a literal type name, a constructor's name, or a name with [] appended for the array form.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.