UNPKG
@nodelib/fs.macchiato
Version:
latest (3.0.0)
3.0.0
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A set of classes for easy testing of built-in structures of FS
@nodelib/fs.macchiato
/
out
/
types.d.ts
8 lines
(7 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export type PrepareOptionsFromClass
<
T
>
=
{
[
TKey
in
NonFunctionPropertyNames
<
T
>
]
?
:
T
[
TKey
]
;
}
; type NonFunctionPropertyNames
<
T
>
=
{
[
TKey
in
keyof
T
]
:
T
[
TKey
]
extends
(
)
=
>
unknown
?
never
:
TKey;
}
[
keyof
T
]
; export
{
}
;