mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-12-06 00:27:20 +00:00
12 lines
764 B
TypeScript
12 lines
764 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
/**
|
|
* Thenable is a common denominator between ES6 promises, Q, jquery.Deferred, WinJS.Promise,
|
|
* and others. This API makes no assumption about what promise library is being used which
|
|
* enables reusing existing code without migrating to a specific promise implementation. Still,
|
|
* we recommend the use of native promises which are available in VS Code.
|
|
*/
|
|
interface Thenable<T> extends PromiseLike<T> {}
|