UNPKG
kakapo
Version:
latest (4.0.6)
4.0.6
4.0.5
4.0.4
4.0.3
4.0.1
3.3.6
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.2.1
3.1.1
3.0.2
3.0.1
2.0.1
1.0.4
1.0.3
1.0.2
1.0.1
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.0.1
0.0.0
0.0.0-semantic-release
Next generation mocking framework in Javascript
github.com/devlucky/Kakapo.js
devlucky/Kakapo.js
kakapo
/
dist
/
Response
/
index.d.ts
14 lines
(13 loc)
•
329 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
declare
class
KakapoResponse
{
code
:
number
;
body
:
any
;
headers
: { [
header
:
string
]:
string
; };
constructor
(
code
?:
number
,
body
?:
any
,
headers
?: { [header:
string
]:
string
; }
);
readonly
error
:
boolean
;
readonly
ok
:
boolean
;
static
wrap
(
response
:
any
):
KakapoResponse
; }