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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Partial property

jasonkuhrt opened this issue · comments

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>.