UNPKG

kxeditor

Version:

Rich Text Editor

12 lines (11 loc) 238 B
/* 0.98.6 */ /** * @internal */ type Filter<T, Cond, U extends keyof T = keyof T> = { [K in U]: T[K] extends Cond ? K : never; }[U]; /** * @internal */ export type Keys<T> = Filter<T, (...args: any[]) => any> & string; export {};