chore(typescript): fixes dart failures and linter

Closes #4359
This commit is contained in:
vsavkin
2015-09-25 12:58:00 -07:00
committed by Victor Savkin
parent 7a53f82516
commit 5bf6a3af15
21 changed files with 293 additions and 178 deletions

View File

@ -20,10 +20,7 @@ function mergeOptions(defaultOpts, providedOpts, method, url): RequestOptions {
url: providedOpts.url,
search: providedOpts.search,
headers: providedOpts.headers,
body: providedOpts.body,
mode: providedOpts.mode,
credentials: providedOpts.credentials,
cache: providedOpts.cache
body: providedOpts.body
}));
}
if (isPresent(method)) {

View File

@ -40,9 +40,6 @@ export type RequestOptionsArgs = {
headers?: Headers;
// TODO: Support Blob, ArrayBuffer, JSON, URLSearchParams, FormData
body?: string;
mode?: any;
credentials?: any;
cache?: any;
}
/**