Update angular.d.ts missing statusText property

On IHttpPromiseCallbackArg added missing statusText property.

From angular's API

    data – {string|Object} – The response body transformed with the transform functions.
    status – {number} – HTTP status code of the response.
    headers – {function([headerName])} – Header getter function.
    config – {Object} – The configuration object that was used to generate the request.
    statusText – {string} – HTTP status text of the response.
This commit is contained in:
damianog
2014-05-14 11:51:29 +02:00
parent 9371c65e5a
commit 248ce05b59
+1
View File
@@ -629,6 +629,7 @@ declare module ng {
status?: number;
headers?: (headerName: string) => string;
config?: IRequestConfig;
statusText?: string;
}
interface IHttpPromise<T> extends IPromise<T> {