UNPKG
@httpx/assert
Version:
latest (0.16.7)
0.16.7
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.0
0.13.2
0.13.1
0.13.0
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.3
0.10.2
0.10.1
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.7
0.6.5
0.6.4
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Assertions and typeguards
belgattitude.github.io/httpx/assert
belgattitude/httpx
@httpx/assert
/
dist
/
internal.types-D5VRBw-5.d.cts
10 lines
(8 loc)
•
283 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
type
MsgOrErrorFactory
=
string
| (
() =>
Error
);
/** *
@credits
https://github.com/sindresorhus/type-fest/blob/main/source/simplify.d.ts */
type
Simplify
<T> = { [
KeyType
in
keyof T]: T[
KeyType
]; } &
NonNullable
<
unknown
>;
export
type
{
MsgOrErrorFactory
as
M,
Simplify
as
S };