Expand object type for better IntelliSense display.
The type to expand
Flattens intersection types for clearer hover and auto-completion. Does not change the type but improves editor readability.
type Nested = { a: { b: { c: number } } };type Expanded = Expand< Nested >; // { a: { b: { c: number } } } Copy
type Nested = { a: { b: { c: number } } };type Expanded = Expand< Nested >; // { a: { b: { c: number } } }
Expand object type for better IntelliSense display.