UNPKG

@abuenameh/mathlive

Version:
12 lines (11 loc) 238 B
/* 0.1.13 */ /** * @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 {};