UNPKG
fully-optional
Version:
latest (1.2.0)
1.2.0
1.1.5
1.1.4
1.1.3
1.1.1
1.1.0
1.0.0
0.0.5
0.0.4
0.0.3
<div align="center">
github.com/YuriiOstapchuk/fully-optional
YuriiOstapchuk/fully-optional
fully-optional
/
dist
/
es
/
types.d.ts
6 lines
•
215 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
type
None
=
null
|
undefined
;
export
declare
type
Optional
<T> = T |
None
;
export
declare
type
ToOptional
<T
extends
any
[]> = { [K
in
keyof T]:
Optional
<T[K]>; };
//# sourceMappingURL=types.d.ts.map