Type alias: PropDefinition<N, P>

Ƭ PropDefinition<N, P>: { eventId: string ; featureIdentifier: string ; name: N ; signature?: Partial<Record<N, P>> ; type: "handler" | "inert" }

An object to define an API to send messages from Web to shell.

Type parameters:

NameTypeDescription
NstringA type to define the name of the prop.
P-A type describing the shape of the prop.

Type declaration:

NameType
eventIdstring
featureIdentifierstring
nameN
signature?Partial<Record<N, P>>
type"handler" | "inert"