Hello, is there a way to "unsimplify" a type so that it is not spread during some intellisense suggestions? For example
type MyType = {
a: boolean,
b: string,
c: string,
...
z: number,
}
type ParamUnion = MyType | TypeA | TypeBy
// do not expand the type definition of MyType when inspecting ParamUnion!
const myFunc = (param1: ParamUnion) => {
...
}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too