mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Q: Support for the Q.noConflict() method.
This commit is contained in:
parent
448c3509f1
commit
d0e842e2f9
7
q/Q.d.ts
vendored
7
q/Q.d.ts
vendored
@ -316,6 +316,13 @@ declare module Q {
|
||||
* Calling resolve with a non-promise value causes promise to be fulfilled with that value.
|
||||
*/
|
||||
export function resolve<T>(object: T): Promise<T>;
|
||||
|
||||
/**
|
||||
* Resets the global "Q" variable to the value it has before Q was loaded.
|
||||
* This will either be undefined if there was no version or the version of Q which was already loaded before.
|
||||
* @returns { The last version of Q. }
|
||||
*/
|
||||
export function noConflict(): typeof Q;
|
||||
}
|
||||
|
||||
declare module "q" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user