Hello there!
Could anyone please advise if I can combine existing methods to achieve the following:
type Example = { a: string; b?: number; c: { ca: number; cb?: string; }; };
type ExampleWithRequired = SetRequiredDeep<Example, 'b' | 'c.cb'>;
I've tried to slightly modify SetRequired on my own, but it didn't work as expected:
Is it possible at all?
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