UNPKG
@dadjokes-io/dad-jokes
Version:
latest (1.0.0)
1.0.0
A npm wrapper for the dadjokes.io api
github.com/DadJokes-io/DadJokes-npm
DadJokes-io/DadJokes-npm
@dadjokes-io/dad-jokes
/
lib
/
models
/
joke.d.ts
15 lines
(14 loc)
•
272 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export
declare
type
JokeResponseArray
= {
success
:
boolean
;
body
:
Joke
[]; };
export
declare
type
Joke
= {
_id
:
string
;
type
:
string
;
setup
:
string
;
punchline
:
string
; };
export
declare
type
JokeResponse
= {
success
:
boolean
;
body
:
Joke
; };