UNPKG
@zodash/down_load
Version:
latest (0.0.1)
0.0.1
Download File in Browser
github.com/zcorky/zodash
zcorky/zodash
@zodash/down_load
/
lib
/
index.d.ts
8 lines
(7 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
IOptions
{
method
?:
'GET'
|
'POST'
|
'PUT'
|
'DELETE'
;
headers
?:
Record
<
string
,
string
>;
body
?:
string
; }
export
declare
function
download
(
url
:
string
,
filename
?:
string
,
options
?:
IOptions
):
Promise
<
void
>;
export
default
download;