⚠️ Internal: This API is not publically exported by the package.

Type alias Key<K, T>

Key<K, T>: T extends DefaultEventMap
    ? string | symbol
    : K | keyof T

Type Parameters

  • K

  • T