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
/
utils
/
createAssertException.d.ts
7 lines
(5 loc)
•
190 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** *
@throws
TypeError
*/
declare
const
createAssertException
:
(
msgOrErrorFactory
?:
string
| (() =>
Error
),
fallbackMsg
?:
string
) =>
TypeError
|
Error
;
export
{ createAssertException };