How to do deep partial?

S.partial() is shallow, so I wrote this S.extend(S.partial(MyStuff.omit('nestedObj')), S.Struct({nestedObj: S.optional(S.partial(MyStuffNestedObj))}))). Is there no better way?
Was this page helpful?