TypeScript defs: added return types where missing from MithrilXHROptions.
This commit is contained in:
parent
0ee2d7f200
commit
7948ef9be5
1 changed files with 3 additions and 3 deletions
6
mithril.d.ts
vendored
6
mithril.d.ts
vendored
|
|
@ -55,10 +55,10 @@ interface MithrilXHROptions {
|
|||
unwrapError?(data: any): any;
|
||||
serialize?(dataToSerialize: any): string;
|
||||
deserialize?(dataToDeserialize: string): any;
|
||||
extract?(xhr: XMLHttpRequest, options: MithrilXHROptions);
|
||||
extract?(xhr: XMLHttpRequest, options: MithrilXHROptions): string;
|
||||
type?(data: Object): void;
|
||||
config?(xhr: XMLHttpRequest, options: MithrilXHROptions)
|
||||
config?(xhr: XMLHttpRequest, options: MithrilXHROptions): XMLHttpRequest;
|
||||
}
|
||||
|
||||
declare var Mithril: MithrilStatic;
|
||||
declare var m: MithrilStatic;
|
||||
declare var m: MithrilStatic;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue