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:
Name | Type | Description |
---|---|---|
N | string | A type to define the name of the prop. |
P | - | A type describing the shape of the prop. |
Type declaration:
Name | Type |
---|---|
eventId | string |
featureIdentifier | string |
name | N |
signature? | Partial<Record<N, P>> |
type | "handler" | "inert" |