Open klren0312 opened 11 months ago
const keys = Object.keys as <T>(obj: T) => (keyof T extends infer U ? U extends string ? U : U extends number ? `${U}` : never : never)[]