UNPKG
apollo-env
Version:
alpha (0.6.3-alpha.0)
beta (0.4.0)
latest (0.10.2)
register (0.4.1-register.1)
0.10.2
0.10.1
0.10.0
0.9.2
0.9.0
0.6.6
0.6.5
0.6.4
0.6.3-alpha.0
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.1-register.1
0.4.1-register.0
0.4.1-alpha.1
0.4.1-alpha.0
0.4.0
0.3.4
0.3.3
0.3.2
0.3.2-alpha.0
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
github.com/apollographql/apollo-tooling
apollographql/apollo-tooling
apollo-env
/
src
/
typescript-utility-types.ts
3 lines
(2 loc)
•
144 B
text/typescript
View Raw
1
2
3
export type WithRequired
<
T
,
K extends keyof
T
>
=
T
&
Required
<
Pick
<
T
,
K
>
>
; export type DeepPartial
<
T
>
=
{
[
P
in
keyof
T
]
?
:
DeepPartial
<
T
[
P
]
>
}
;