gvergnaud / hotscript

A library of composable functions for the type-level! Transform your TypeScript types in any way you want using functions you already know.
3.38k stars 57 forks source link

Partial property #114

Open jasonkuhrt opened 8 months ago

jasonkuhrt commented 8 months ago

There is a function Objects.Partial but it turns all properties on an object to optional. Would be nice to have a version that targets a specific property: Objects.SetPropertyOptional<'foo', SomeObject>.