UNPKG

@realsee/dnalogel

Version:
3 lines (2 loc) 141 B
export type RecordKeys<T> = T extends Record<infer P, any> ? P : any; export type RecordValue<T> = T extends Record<any, infer P> ? P : any;