UNPKG

next-actuator

Version:

A fully composable actuator implementation for Next.js projects

4 lines (3 loc) 143 B
export type Optional<T> = { [K in keyof T]?: T[K] extends object ? T[K] extends Record<string, unknown> ? T[K] : Optional<T[K]> : T[K]; };