UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

8 lines (6 loc) 141 B
/** * @public */ export type TListener<K extends string, TArgs extends readonly unknown[]> = { [P in K]: (...args: TArgs) => void; };