pchl/styled-system/types/helpers.d.ts

1 line
76 B
TypeScript

export type Pretty<T> = T extends infer U ? { [K in keyof U]: U[K] } : never