UNPKG

@lucasroll62/nuxt3-auth

Version:

An alternative module to @nuxtjs/auth

5 lines (4 loc) 222 B
export type RecursivePartial<T> = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[any] : RecursivePartial<T[P]>; }; export type PartialExcept<T, K extends keyof T> = RecursivePartial<T> & Pick<T, K>;