UNPKG
@foxify/http
Version:
latest (1.0.0-beta.3)
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Foxify HTTP module
github.com/foxifyjs/foxify/tree/main/packages/http
foxifyjs/foxify
@foxify/http
/
src
/
constants
/
common.ts
9 lines
(7 loc)
•
225 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
export
type
JsonT
=
JsonT
[] |
boolean
|
number
|
string
| { [
ket
:
string
]:
JsonT
} |
null
|
undefined
;
export
type
StringifyT
=
(
value
:
any
,
replacer
?: (key:
string
, value:
any
) =>
any
,
space
?:
number
,
) =>
string
;