export type RecordKeys = T extends Record ? P : any; export type RecordValue = T extends Record ? P : any;