Interface IEvent<T>

A simple event interface with typed event types.

interface IEvent<T> {
    target?: any;
    type: T;
    [attachment: string]: any;
}

Type Parameters

  • T

Indexable

[attachment: string]: any

Properties

Properties

target?: any
type: T