@conterra/ct-mapapps-typings 4.19.0-next.20241115050404 → 4.19.0-next.20241118093903
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/apprt-core/Promise.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface StateQueryable {
|
|
|
15
15
|
type State = "pending" | "fulfilled" | "rejected" | "cancelled";
|
|
16
16
|
declare const PROMISE: unique symbol;
|
|
17
17
|
declare const STATE: unique symbol;
|
|
18
|
-
declare const
|
|
18
|
+
declare const PRIVATE_CONSTRUCTOR_TAG: unique symbol;
|
|
19
19
|
/**
|
|
20
20
|
* Wrapper of global.Promise class.
|
|
21
21
|
* Read more about [Promises](./PROMISES.md).
|
|
@@ -39,7 +39,7 @@ declare class ExtendedPromise<T> implements Promise<T> {
|
|
|
39
39
|
/**
|
|
40
40
|
* Internal constructor. Do not call.
|
|
41
41
|
*/
|
|
42
|
-
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof
|
|
42
|
+
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof PRIVATE_CONSTRUCTOR_TAG);
|
|
43
43
|
/** Creates a new resolved promise */
|
|
44
44
|
static resolve(): ExtendedPromise<void>;
|
|
45
45
|
/**
|
package/ct/util/css.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface StateQueryable {
|
|
|
17
17
|
type State = "pending" | "fulfilled" | "rejected" | "cancelled";
|
|
18
18
|
declare const PROMISE: unique symbol;
|
|
19
19
|
declare const STATE: unique symbol;
|
|
20
|
-
declare const
|
|
20
|
+
declare const PRIVATE_CONSTRUCTOR_TAG: unique symbol;
|
|
21
21
|
/**
|
|
22
22
|
* Wrapper of global.Promise class.
|
|
23
23
|
* Read more about [Promises](./PROMISES.md).
|
|
@@ -41,7 +41,7 @@ declare class ExtendedPromise<T> implements Promise<T> {
|
|
|
41
41
|
/**
|
|
42
42
|
* Internal constructor. Do not call.
|
|
43
43
|
*/
|
|
44
|
-
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof
|
|
44
|
+
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof PRIVATE_CONSTRUCTOR_TAG);
|
|
45
45
|
/** Creates a new resolved promise */
|
|
46
46
|
static resolve(): ExtendedPromise<void>;
|
|
47
47
|
/**
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ interface StateQueryable {
|
|
|
17
17
|
type State = "pending" | "fulfilled" | "rejected" | "cancelled";
|
|
18
18
|
declare const PROMISE: unique symbol;
|
|
19
19
|
declare const STATE: unique symbol;
|
|
20
|
-
declare const
|
|
20
|
+
declare const PRIVATE_CONSTRUCTOR_TAG: unique symbol;
|
|
21
21
|
/**
|
|
22
22
|
* Wrapper of global.Promise class.
|
|
23
23
|
* Read more about [Promises](./PROMISES.md).
|
|
@@ -41,7 +41,7 @@ declare class ExtendedPromise<T> implements Promise<T> {
|
|
|
41
41
|
/**
|
|
42
42
|
* Internal constructor. Do not call.
|
|
43
43
|
*/
|
|
44
|
-
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof
|
|
44
|
+
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof PRIVATE_CONSTRUCTOR_TAG);
|
|
45
45
|
/** Creates a new resolved promise */
|
|
46
46
|
static resolve(): ExtendedPromise<void>;
|
|
47
47
|
/**
|