Anyone know if its possible to get the Optional values of a type?
interface A {
a: string;
b?: string;
c?:string;
d: string;
}
type B = OptionalsOf<A>;
so B becomes something like
type B = {
b?: string;
c?: striing;
};
Though for my usecase I will do something like
type B = Required<OptionsOf<A>>;
But I presume that wouldn't make a difference?
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