EventDefinition
interface exported by @mwillbanks/tuil-events.
interface
Public interface exported by @mwillbanks/tuil-events.
export interface EventDefinition<TPayload> {
readonly redact?: (payload: TPayload) => unknown;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
redact | ((payload: TPayload) => unknown) | undefined | No | The redact member uses the ((payload: TPayload) => unknown) | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference