diff --git a/mithril.d.ts b/mithril.d.ts index 7b2c4cef..ce62806f 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -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; \ No newline at end of file +declare var m: MithrilStatic;