Skip to main content
Version: Next

Expand

Home > @backstage/types > Expand

Utility type to expand type aliases into their equivalent type.

Signature:

export type Expand<T> = T extends infer O ? {
[K in keyof O]: O[K];
} : never;