UNPKG
@ritttzy/core
Version:
latest (0.1.0)
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
## Project setup ``` npm install ```
@ritttzy/core
/
src
/
typings
/
index.d.ts
12 lines
(10 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
type
{ fetchResponse, fetchOps }
from
"./doFetch"
;
declare
module
"@ritttzy/core"
{
function
doFetch
(
url
:
string
,
method
?:
string
,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
body
?:
any
|
null
,
opts
?: fetchOps
):
Promise
<fetchResponse>; }