UNPKG
t7m
Version:
latest (0.6.4)
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
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.1
0.0.5
0.0.3
0.0.2
0.0.1
Transformer for Elysia and Hono
github.com/tkoehlerlg/t7m
tkoehlerlg/t7m
t7m
/
dist
/
types.d.ts
8 lines
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Type that only includes properties that are possibly undefined. *
@template
T The type to process. */
export
type
OnlyPossiblyUndefined
<T> = { [P
in
keyof T
as
undefined
extends
T[P] ? P :
never
]: T[P]; };
//# sourceMappingURL=types.d.ts.map