parent
b42c3d1ba0
commit
7fc0e0378c
3 changed files with 39 additions and 0 deletions
5
mithril.d.ts
vendored
5
mithril.d.ts
vendored
|
|
@ -840,6 +840,11 @@ declare namespace Mithril {
|
|||
*/
|
||||
password?: string;
|
||||
|
||||
/**
|
||||
* An optional object map of headers with their respective values
|
||||
*/
|
||||
headers?: {[key: string]: string};
|
||||
|
||||
/**
|
||||
* An optional function to run between `open` and `send`, useful for
|
||||
* adding request headers or using XHR2 features such as the `upload`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue