tuil
ReferencePackages@mwillbanks/tuil-eventsAPI

EventDefinition

interface exported by @mwillbanks/tuil-events.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-events.

export interface EventDefinition<TPayload> {
  readonly redact?: (payload: TPayload) => unknown;
}

Members

MemberTypeRequiredDescriptionRelated types
redact((payload: TPayload) => unknown) | undefinedNoThe 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.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-events

On this page