mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #21423 from likewei92/master
sendRequestAsync method is static
This commit is contained in:
Vendored
+2
-2
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user