Added void return types for some methods. It alows compile with --noImplicitAny flag.

This commit is contained in:
Václav Oborník
2013-11-23 18:32:36 +01:00
parent dddf80ff37
commit 21f83910f5
+4 -4
View File
@@ -140,7 +140,7 @@ declare module gapi.client {
status: number;
statusText: string;
}
) => any);
) => any):void;
}
/**
* Represents an HTTP Batch operation. Individual HTTP requests are added with the add method and the batch is executed using execute.
@@ -166,7 +166,7 @@ declare module gapi.client {
*/
rawBatchResponse: any
) => any
});
}):void;
/**
* Executes all requests in the batch. The supplied callback is executed on success or failure.
* @param callback The callback to execute when the batch returns.
@@ -180,7 +180,7 @@ declare module gapi.client {
* is the same response, but as an unparsed JSON-string.
*/
rawBatchResponse: string
) => any);
) => any):void;
}
/**
@@ -201,7 +201,7 @@ declare module gapi.client {
* is the same as jsonResp, except it is a raw string that has not been parsed. It is typically used when the response is not JSON.
*/
rawResp: string
) => void );
) => void ):void;
}
}