UNPKG
@lucasroll62/nuxt3-auth
Version:
latest (1.0.1)
1.0.1
1.0.0
An alternative module to @nuxtjs/auth
github.com/lucasroll62/nuxt3-auth
lucasroll62/nuxt3-auth
@lucasroll62/nuxt3-auth
/
dist
/
types
/
utils.d.ts
5 lines
(4 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
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
>
;