Merge pull request #21423 from likewei92/master

sendRequestAsync method is static
This commit is contained in:
Benjamin Lichtman
2017-11-21 12:47:50 -08:00
committed by GitHub
+2 -2
View File
@@ -20,7 +20,7 @@ declare namespace Windows {
}
declare namespace Windows.Foundation {
interface IPromise<TResult> {
interface IPromise<TResult> extends PromiseLike<TResult> {
then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>;
then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void): IPromise<U>;
then<U>(success?: (value: TResult) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>;
@@ -49396,7 +49396,7 @@ declare namespace Windows {
* @param parametersAsJson A JSON-formatted string that contains the arguments to pass to the request.
* @return An asynchronous operation that, on successful completion, returns a StoreSendRequestResult object that provides status and error info about the request.
*/
sendRequestAsync(context: StoreContext, requestKind: number, parametersAsJson: string): Windows.Foundation.IPromiseWithIAsyncOperation<StoreSendRequestResult>;
static sendRequestAsync(context: StoreContext, requestKind: number, parametersAsJson: string): Windows.Foundation.IPromiseWithIAsyncOperation<StoreSendRequestResult>;
}
/** Provides response data for a request that is sent to the Windows Store. */