From 09fb79e98d28c7b1e379d6ea881562e43d1eb24e Mon Sep 17 00:00:00 2001 From: Elliot S Chi Date: Tue, 23 Aug 2016 11:15:22 -0700 Subject: [PATCH] chore(Observable.ajax): change method to optional on interface, since it gets set to GET by default --- src/observable/dom/AjaxObservable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observable/dom/AjaxObservable.ts b/src/observable/dom/AjaxObservable.ts index 84f815fbe1..05de3df26b 100644 --- a/src/observable/dom/AjaxObservable.ts +++ b/src/observable/dom/AjaxObservable.ts @@ -11,7 +11,7 @@ export interface AjaxRequest { body?: any; user?: string; async?: boolean; - method: string; + method?: string; headers?: Object; timeout?: number; password?: string;