type KeysMatching<Obj, Type> = {
[Key in keyof Obj]-?: Key extends Type ? Key : never;
}[keyof Obj];
Quick way to get keys of an object matching a particular patterns, e.g. template literal types. Could be useful for composing with other util types like ValueOf
.
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