fix(utils): remove unused types

This commit is contained in:
Herrington Darkholme 2020-08-23 00:35:17 +08:00
parent 1909319dc2
commit bd38e1994d

View File

@ -12,5 +12,3 @@ type BiArgEmitter<T, Keys extends keyof T> = <K extends Keys>(evt: K, arg: T[K])
export type EventEmitter<T extends Record<string, unknown>> =
MonoArgEmitter<T, OptionalKeys<T>> & BiArgEmitter<T, RequiredKeys<T>>
type A = Required<Record<string, unknown>>