UNPKG
lomi.cli
Version:
latest (3.1.1)
3.1.1
3.1.0
3.0.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.1
Command line interface for lomi's payment infrastructure
lomi.africa
lomiafrica/lomi.
lomi.cli
/
dist
/
utils
/
api.d.ts
10 lines
(9 loc)
•
292 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
class
ApiError
extends
Error
{
status
:
number
;
body
:
unknown
;
message
:
string
;
constructor
(
status
:
number
,
body
:
unknown
,
message
?:
string
); }
export
declare
function
makeRequest<T>(
path
:
string
,
options
?:
RequestInit
& {
verbose
?:
boolean
; }):
Promise
<T>;