Skip to content

aninest root / RecursiveHelpers / PartialRecursive

PartialRecursive<Base, Shape>

ts
type PartialRecursive<Base, Shape>: { [P in keyof Shape]?: Shape[P] extends Base ? Base : PartialRecursive<Base, Shape[P]> };

Contains the same structure as the original object, but with all keys being optional.

Type Parameters

Base

Shape

Defined in

Animate/RecursiveHelpers.ts:46