@idlebox/common 1.3.3 → 1.3.6
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/.rush/temp/8ffc60c66c29712a4b0392d78f8ceb08fd99cd43.log +10 -0
- package/.rush/temp/shrinkwrap-deps.json +671 -0
- package/Gulpfile.js +4 -0
- package/build-script.json +55 -0
- package/common.build.log +42 -0
- package/config/rush-project.json +4 -0
- package/docs/common.api.json +21006 -0
- package/docs/common.api.md +1125 -0
- package/docs/package-public.d.ts +44 -3
- package/docs/tsdoc-metadata.json +11 -0
- package/generate/main.ts +56 -0
- package/generate/package.json +3 -0
- package/generate/tsconfig.json +9 -0
- package/idlebox-common-v1.3.2.tgz +0 -0
- package/idlebox-common-v1.3.3.tgz +0 -0
- package/lib/_export_all_in_one_index.cjs +3 -1
- package/lib/_export_all_in_one_index.cjs.map +10 -1
- package/lib/_export_all_in_one_index.js +1 -0
- package/lib/_export_all_in_one_index.js.map +1 -1
- package/lib/array/arrayDiff.cjs.map +10 -1
- package/lib/array/arraySame.cjs.map +10 -1
- package/lib/array/arrayUnique.cjs.map +10 -1
- package/lib/array/normalizeArray.cjs.map +10 -1
- package/lib/array/sortAlpha.cjs.map +10 -1
- package/lib/date/consts.cjs.map +10 -1
- package/lib/date/isInvalid.cjs.map +10 -1
- package/lib/date/sibling.cjs.map +10 -1
- package/lib/date/timeString.cjs.map +10 -1
- package/lib/date/unix.cjs.map +10 -1
- package/lib/debugging/tryInspect.cjs.map +10 -1
- package/lib/error/convertUnknown.cjs.map +10 -1
- package/lib/error/getFrame.cjs.map +10 -1
- package/lib/function/asyncCallbackList.cjs.map +10 -1
- package/lib/function/callbackList.cjs +21 -6
- package/lib/function/callbackList.cjs.map +10 -1
- package/lib/function/callbackList.js +16 -6
- package/lib/function/callbackList.js.map +1 -1
- package/lib/function/delayCallbackList.cjs.map +10 -1
- package/lib/function/functionName.cjs.map +10 -1
- package/lib/lifecycle/dispose/bridges/rxjs.cjs.map +10 -1
- package/lib/lifecycle/dispose/disposableEvent.cjs.map +10 -1
- package/lib/lifecycle/dispose/disposedError.cjs.map +10 -1
- package/lib/lifecycle/dispose/lifecycle.async.cjs.map +10 -1
- package/lib/lifecycle/dispose/lifecycle.cjs.map +10 -1
- package/lib/lifecycle/dispose/lifecycle.global.cjs.map +10 -1
- package/lib/lifecycle/dispose/lifecycle.sync.cjs.map +10 -1
- package/lib/lifecycle/event/event.cjs.map +10 -1
- package/lib/lifecycle/promise/cancel.cjs.map +10 -1
- package/lib/lifecycle/promise/cancellationToken/driver.browser.cjs.map +10 -1
- package/lib/lifecycle/promise/cancellationToken/driver.common.cjs.map +10 -1
- package/lib/lifecycle/promise/cancellationToken/source.cjs.map +10 -1
- package/lib/lifecycle/promise/deferredPromise.cjs.map +10 -1
- package/lib/lifecycle/timeout/timeout.cjs.map +10 -1
- package/lib/lifecycle/timeout/timeoutError.cjs.map +10 -1
- package/lib/log/logger.cjs.map +10 -1
- package/lib/mapSet/customSet.cjs.map +10 -1
- package/lib/mapSet/extendMap.cjs.map +10 -1
- package/lib/misc/assertNotNull.cjs.map +10 -1
- package/lib/object/definePublicConstant.cjs.map +10 -1
- package/lib/object/initOnRead.cjs.map +10 -1
- package/lib/object/objectPath.cjs.map +10 -1
- package/lib/object/objectSame.cjs.map +10 -1
- package/lib/path/isAbsolute.cjs.map +10 -1
- package/lib/path/normalizePath.cjs.map +10 -1
- package/lib/path/pathArray.cjs.map +10 -1
- package/lib/platform/globalObject.cjs.map +10 -1
- package/lib/platform/globalSingleton.cjs.map +10 -1
- package/lib/platform/globalSymbol.cjs.map +10 -1
- package/lib/platform/os.cjs.map +10 -1
- package/lib/promise/awaitIterator.cjs.map +10 -1
- package/lib/promise/finishAllPromise.cjs.map +10 -1
- package/lib/promise/promiseBool.cjs.map +10 -1
- package/lib/promise/promisePool.cjs.map +10 -1
- package/lib/promise/timeoutPromisePool.cjs.map +10 -1
- package/lib/reflection/classes/hookClass.cjs.map +10 -1
- package/lib/reflection/classes/singleton.cjs.map +10 -1
- package/lib/reflection/methods/bind.cjs.map +10 -1
- package/lib/reflection/methods/initOnRead.cjs.map +10 -1
- package/lib/reflection/methods/memorize.cjs.map +10 -1
- package/lib/string/castCase.cjs.map +10 -1
- package/lib/string/concatType.generated.cjs +9 -0
- package/lib/string/concatType.generated.cjs.map +10 -0
- package/lib/string/concatType.generated.js +5 -0
- package/lib/string/concatType.generated.js.map +1 -0
- package/lib/string/escapeRegexp.cjs.map +10 -1
- package/lib/string/pad2.cjs.map +10 -1
- package/lib/string/sizeString.cjs.map +10 -1
- package/package.json +7 -7
- package/src/function/callbackList.ts +19 -7
- package/src/string/concatType.generated.ts +255 -0
- package/src/string/concatType.generator.ts +31 -0
- package/src/tsconfig.json +2 -1
|
@@ -0,0 +1,1125 @@
|
|
|
1
|
+
## API Report File for "@idlebox/common"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="@idlebox/itypes" />
|
|
8
|
+
|
|
9
|
+
// Warning: (ae-missing-release-tag) "addDisposableEventListener" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
10
|
+
// Warning: (ae-missing-release-tag) "addDisposableEventListener" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
11
|
+
//
|
|
12
|
+
// @public (undocumented)
|
|
13
|
+
export function addDisposableEventListener<T extends Function>(target: IEventHostObject<T> | IEventEmitterObject<T>, type: string, options: IEventListenerOptions, handler: T): IDisposable;
|
|
14
|
+
|
|
15
|
+
// @public (undocumented)
|
|
16
|
+
export function addDisposableEventListener<T extends Function>(target: IEventHostObject<T> | IEventEmitterObject<T>, type: string, handler: T): IDisposable;
|
|
17
|
+
|
|
18
|
+
// @public
|
|
19
|
+
export function arrayDiff<T>(before: T[], after: T[]): {
|
|
20
|
+
add: T[];
|
|
21
|
+
del: T[];
|
|
22
|
+
same: T[];
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// @public
|
|
26
|
+
export function arrayUnique<T>(arr: T[]): T[];
|
|
27
|
+
|
|
28
|
+
// @public
|
|
29
|
+
export function arrayUniqueReference(arr: any[]): void;
|
|
30
|
+
|
|
31
|
+
// Warning: (ae-missing-release-tag) "assertFunctionHasName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
32
|
+
//
|
|
33
|
+
// @public
|
|
34
|
+
export function assertFunctionHasName(func: MaybeNamedFunction): void;
|
|
35
|
+
|
|
36
|
+
// @public
|
|
37
|
+
export function assertNotNull<T>(val: T | null | undefined): T;
|
|
38
|
+
|
|
39
|
+
// Warning: (ae-missing-release-tag) "AsyncCallbackList" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
40
|
+
//
|
|
41
|
+
// @public
|
|
42
|
+
export class AsyncCallbackList<Argument extends unknown[]> {
|
|
43
|
+
constructor();
|
|
44
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
45
|
+
//
|
|
46
|
+
// (undocumented)
|
|
47
|
+
add(item: MyAsyncCallback<Argument>, name?: string): number;
|
|
48
|
+
// (undocumented)
|
|
49
|
+
count(): number;
|
|
50
|
+
// (undocumented)
|
|
51
|
+
protected list: MyAsyncCallback<Argument>[];
|
|
52
|
+
// (undocumented)
|
|
53
|
+
remove(item: MyAsyncCallback<Argument>): null | MyAsyncCallback<Argument>;
|
|
54
|
+
// (undocumented)
|
|
55
|
+
reset(): void;
|
|
56
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
57
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
58
|
+
run(...argument: Argument): Promise<boolean>;
|
|
59
|
+
// (undocumented)
|
|
60
|
+
protected running: boolean;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// @public
|
|
64
|
+
export class AsyncDisposable implements IAsyncDisposable, IDisposableBaseInternal {
|
|
65
|
+
// (undocumented)
|
|
66
|
+
assertNotDisposed(): void;
|
|
67
|
+
// (undocumented)
|
|
68
|
+
dispose(): Promise<void>;
|
|
69
|
+
// (undocumented)
|
|
70
|
+
get hasDisposed(): boolean;
|
|
71
|
+
// (undocumented)
|
|
72
|
+
readonly onBeforeDispose: EventRegister<void>;
|
|
73
|
+
// (undocumented)
|
|
74
|
+
protected readonly _onBeforeDispose: Emitter<void>;
|
|
75
|
+
// (undocumented)
|
|
76
|
+
readonly onDisposeError: EventRegister<Error>;
|
|
77
|
+
// (undocumented)
|
|
78
|
+
protected readonly _onDisposeError: Emitter<Error>;
|
|
79
|
+
_register<T extends IAsyncDisposable>(d: T): T;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Warning: (ae-missing-release-tag) "awaitIterator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
83
|
+
//
|
|
84
|
+
// @public
|
|
85
|
+
export function awaitIterator<T>(generator: Iterator<T>): Promise<T>;
|
|
86
|
+
|
|
87
|
+
// Warning: (ae-missing-release-tag) "bindThis" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
88
|
+
//
|
|
89
|
+
// @public
|
|
90
|
+
export const bindThis: MethodDecorator;
|
|
91
|
+
|
|
92
|
+
// Warning: (ae-missing-release-tag) "CallbackList" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
93
|
+
//
|
|
94
|
+
// @public
|
|
95
|
+
export class CallbackList<Argument extends unknown[]> {
|
|
96
|
+
constructor();
|
|
97
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
98
|
+
//
|
|
99
|
+
// (undocumented)
|
|
100
|
+
add(item: MyCallback<Argument>, name?: string): number;
|
|
101
|
+
// (undocumented)
|
|
102
|
+
count(): number;
|
|
103
|
+
// (undocumented)
|
|
104
|
+
protected list: MyCallback<Argument>[];
|
|
105
|
+
// (undocumented)
|
|
106
|
+
remove(item: MyCallback<Argument>): null | MyCallback<Argument>;
|
|
107
|
+
// (undocumented)
|
|
108
|
+
reset(): void;
|
|
109
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
110
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
111
|
+
//
|
|
112
|
+
// (undocumented)
|
|
113
|
+
run(...argument: Argument): boolean;
|
|
114
|
+
// (undocumented)
|
|
115
|
+
protected running: boolean;
|
|
116
|
+
// (undocumented)
|
|
117
|
+
protected stop: boolean;
|
|
118
|
+
// (undocumented)
|
|
119
|
+
stopRun(): void;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// @public (undocumented)
|
|
123
|
+
export function camelCase(str: string): string;
|
|
124
|
+
|
|
125
|
+
// @public
|
|
126
|
+
export class CanceledError extends Error {
|
|
127
|
+
constructor();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// @public (undocumented)
|
|
131
|
+
export interface CancellationToken {
|
|
132
|
+
// (undocumented)
|
|
133
|
+
readonly isCancellationRequested: boolean;
|
|
134
|
+
// (undocumented)
|
|
135
|
+
onCancellationRequested(callback: EventHandler<void>): IDisposable;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// @public (undocumented)
|
|
139
|
+
export class CancellationTokenSource extends DisposableOnce implements IDisposable {
|
|
140
|
+
constructor();
|
|
141
|
+
// (undocumented)
|
|
142
|
+
cancel(): void;
|
|
143
|
+
// (undocumented)
|
|
144
|
+
_dispose(): void;
|
|
145
|
+
// (undocumented)
|
|
146
|
+
readonly token: CancellationToken;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Warning: (ae-missing-release-tag) "ColorKind" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
150
|
+
//
|
|
151
|
+
// @public (undocumented)
|
|
152
|
+
export enum ColorKind {
|
|
153
|
+
// (undocumented)
|
|
154
|
+
DETECT = 3,
|
|
155
|
+
// (undocumented)
|
|
156
|
+
DISABLE = 0,
|
|
157
|
+
// (undocumented)
|
|
158
|
+
TERMINAL = 1,
|
|
159
|
+
// (undocumented)
|
|
160
|
+
WEB = 2
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
164
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
165
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
166
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
167
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
168
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
169
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
170
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
171
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
172
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
173
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
174
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
175
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
176
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
177
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
178
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
179
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
180
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
181
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
182
|
+
// Warning: (ae-missing-release-tag) "concatStringType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
183
|
+
//
|
|
184
|
+
// @public (undocumented)
|
|
185
|
+
export function concatStringType<T0 extends string>(t0: T0): `${T0}`;
|
|
186
|
+
|
|
187
|
+
// @public (undocumented)
|
|
188
|
+
export function concatStringType<T0 extends string, T1 extends string>(t0: T0, t1: T1): `${T0}${T1}`;
|
|
189
|
+
|
|
190
|
+
// @public (undocumented)
|
|
191
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string>(t0: T0, t1: T1, t2: T2): `${T0}${T1}${T2}`;
|
|
192
|
+
|
|
193
|
+
// @public (undocumented)
|
|
194
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string>(t0: T0, t1: T1, t2: T2, t3: T3): `${T0}${T1}${T2}${T3}`;
|
|
195
|
+
|
|
196
|
+
// @public (undocumented)
|
|
197
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4): `${T0}${T1}${T2}${T3}${T4}`;
|
|
198
|
+
|
|
199
|
+
// @public (undocumented)
|
|
200
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): `${T0}${T1}${T2}${T3}${T4}${T5}`;
|
|
201
|
+
|
|
202
|
+
// @public (undocumented)
|
|
203
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}`;
|
|
204
|
+
|
|
205
|
+
// @public (undocumented)
|
|
206
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}`;
|
|
207
|
+
|
|
208
|
+
// @public (undocumented)
|
|
209
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}`;
|
|
210
|
+
|
|
211
|
+
// @public (undocumented)
|
|
212
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}`;
|
|
213
|
+
|
|
214
|
+
// @public (undocumented)
|
|
215
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}`;
|
|
216
|
+
|
|
217
|
+
// @public (undocumented)
|
|
218
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}`;
|
|
219
|
+
|
|
220
|
+
// @public (undocumented)
|
|
221
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}`;
|
|
222
|
+
|
|
223
|
+
// @public (undocumented)
|
|
224
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}`;
|
|
225
|
+
|
|
226
|
+
// @public (undocumented)
|
|
227
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string, T14 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}${T14}`;
|
|
228
|
+
|
|
229
|
+
// @public (undocumented)
|
|
230
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string, T14 extends string, T15 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}${T14}${T15}`;
|
|
231
|
+
|
|
232
|
+
// @public (undocumented)
|
|
233
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string, T14 extends string, T15 extends string, T16 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}${T14}${T15}${T16}`;
|
|
234
|
+
|
|
235
|
+
// @public (undocumented)
|
|
236
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string, T14 extends string, T15 extends string, T16 extends string, T17 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}${T14}${T15}${T16}${T17}`;
|
|
237
|
+
|
|
238
|
+
// @public (undocumented)
|
|
239
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string, T14 extends string, T15 extends string, T16 extends string, T17 extends string, T18 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}${T14}${T15}${T16}${T17}${T18}`;
|
|
240
|
+
|
|
241
|
+
// @public (undocumented)
|
|
242
|
+
export function concatStringType<T0 extends string, T1 extends string, T2 extends string, T3 extends string, T4 extends string, T5 extends string, T6 extends string, T7 extends string, T8 extends string, T9 extends string, T10 extends string, T11 extends string, T12 extends string, T13 extends string, T14 extends string, T15 extends string, T16 extends string, T17 extends string, T18 extends string, T19 extends string>(t0: T0, t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19): `${T0}${T1}${T2}${T3}${T4}${T5}${T6}${T7}${T8}${T9}${T10}${T11}${T12}${T13}${T14}${T15}${T16}${T17}${T18}${T19}`;
|
|
243
|
+
|
|
244
|
+
// Warning: (ae-missing-release-tag) "convertCatchedError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
245
|
+
//
|
|
246
|
+
// @public (undocumented)
|
|
247
|
+
export function convertCatchedError(e: unknown): Error;
|
|
248
|
+
|
|
249
|
+
// @public
|
|
250
|
+
export function createSymbol(category: string, name: string): symbol;
|
|
251
|
+
|
|
252
|
+
// Warning: (ae-missing-release-tag) "CustomSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
253
|
+
//
|
|
254
|
+
// @public
|
|
255
|
+
export class CustomSet<Type = string> {
|
|
256
|
+
// (undocumented)
|
|
257
|
+
[Symbol.iterator](): Iterator<Type>;
|
|
258
|
+
constructor(finder?: Finder<Type>);
|
|
259
|
+
// (undocumented)
|
|
260
|
+
add(item: Type): boolean;
|
|
261
|
+
// (undocumented)
|
|
262
|
+
addAll(items: Type[]): Type[];
|
|
263
|
+
// (undocumented)
|
|
264
|
+
clear(): void;
|
|
265
|
+
// (undocumented)
|
|
266
|
+
delete(item: Type): boolean;
|
|
267
|
+
// (undocumented)
|
|
268
|
+
deleteAll(items: Type[]): Type[];
|
|
269
|
+
// (undocumented)
|
|
270
|
+
has(item: Type): boolean;
|
|
271
|
+
// (undocumented)
|
|
272
|
+
keys(): Iterator<Type>;
|
|
273
|
+
// (undocumented)
|
|
274
|
+
get length(): number;
|
|
275
|
+
// (undocumented)
|
|
276
|
+
protected registry: Type[];
|
|
277
|
+
// (undocumented)
|
|
278
|
+
setFinder(finder: Finder<Type>): void;
|
|
279
|
+
// (undocumented)
|
|
280
|
+
get size(): number;
|
|
281
|
+
// (undocumented)
|
|
282
|
+
toArray(): Type[];
|
|
283
|
+
// (undocumented)
|
|
284
|
+
values(): Iterator<Type>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// @public
|
|
288
|
+
export class DeferredPromise<T, PT = any> {
|
|
289
|
+
constructor();
|
|
290
|
+
cancel(): void;
|
|
291
|
+
complete(value: T): void;
|
|
292
|
+
// (undocumented)
|
|
293
|
+
get completed(): boolean;
|
|
294
|
+
error(err: any): void;
|
|
295
|
+
// (undocumented)
|
|
296
|
+
notify(progress: PT): this;
|
|
297
|
+
// (undocumented)
|
|
298
|
+
readonly p: Promise<T> & IProgressHolder<T, PT>;
|
|
299
|
+
// (undocumented)
|
|
300
|
+
progress(fn: ProgressCallback<PT>): void;
|
|
301
|
+
// (undocumented)
|
|
302
|
+
get rejected(): boolean;
|
|
303
|
+
// (undocumented)
|
|
304
|
+
get resolved(): boolean;
|
|
305
|
+
static wrap(prev: Promise<any>): DeferredPromise<unknown, any>;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// Warning: (ae-missing-release-tag) "definePublicConstant" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
309
|
+
//
|
|
310
|
+
// @public (undocumented)
|
|
311
|
+
export function definePublicConstant(object: any, propertyKey: string | symbol, value: any): void;
|
|
312
|
+
|
|
313
|
+
// Warning: (ae-missing-release-tag) "DelayCallbackList" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
314
|
+
//
|
|
315
|
+
// @public
|
|
316
|
+
export class DelayCallbackList<Argument extends unknown[]> {
|
|
317
|
+
// (undocumented)
|
|
318
|
+
add(item: MyDelayCallback<Argument>, name?: string): void;
|
|
319
|
+
// (undocumented)
|
|
320
|
+
count(): number;
|
|
321
|
+
// (undocumented)
|
|
322
|
+
protected list?: MyDelayCallback<Argument>[];
|
|
323
|
+
// (undocumented)
|
|
324
|
+
run(argument: Argument): void;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// @public
|
|
328
|
+
export function deleteSymbol(category: string, name: string): void;
|
|
329
|
+
|
|
330
|
+
// Warning: (ae-missing-release-tag) "Disposable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
331
|
+
//
|
|
332
|
+
// @public
|
|
333
|
+
export class Disposable implements IDisposable, IDisposableBaseInternal {
|
|
334
|
+
// (undocumented)
|
|
335
|
+
assertNotDisposed(): void;
|
|
336
|
+
// (undocumented)
|
|
337
|
+
dispose(): void;
|
|
338
|
+
// (undocumented)
|
|
339
|
+
get hasDisposed(): boolean;
|
|
340
|
+
// (undocumented)
|
|
341
|
+
readonly onBeforeDispose: EventRegister<void>;
|
|
342
|
+
// (undocumented)
|
|
343
|
+
protected readonly _onBeforeDispose: Emitter<void>;
|
|
344
|
+
// (undocumented)
|
|
345
|
+
readonly onDisposeError: EventRegister<Error>;
|
|
346
|
+
// (undocumented)
|
|
347
|
+
protected readonly _onDisposeError: Emitter<Error>;
|
|
348
|
+
// (undocumented)
|
|
349
|
+
_register<T extends IDisposable>(d: T): T;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// Warning: (ae-missing-release-tag) "DisposableOnce" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
353
|
+
//
|
|
354
|
+
// @public (undocumented)
|
|
355
|
+
export abstract class DisposableOnce implements IDisposable {
|
|
356
|
+
// (undocumented)
|
|
357
|
+
dispose(): void;
|
|
358
|
+
// (undocumented)
|
|
359
|
+
protected abstract _dispose(): void;
|
|
360
|
+
// (undocumented)
|
|
361
|
+
get hasDisposed(): boolean;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
// Warning: (ae-missing-release-tag) "DisposedError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
365
|
+
//
|
|
366
|
+
// @public
|
|
367
|
+
export class DisposedError extends Error {
|
|
368
|
+
constructor(object: any, previous: Error);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// Warning: (ae-missing-release-tag) "disposeGlobal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
372
|
+
//
|
|
373
|
+
// @public
|
|
374
|
+
export function disposeGlobal(): Promise<void>;
|
|
375
|
+
|
|
376
|
+
// Warning: (ae-missing-release-tag) "Emitter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
377
|
+
//
|
|
378
|
+
// @public (undocumented)
|
|
379
|
+
export class Emitter<T> implements IDisposable {
|
|
380
|
+
constructor();
|
|
381
|
+
// (undocumented)
|
|
382
|
+
dispose(): void;
|
|
383
|
+
// (undocumented)
|
|
384
|
+
fire(data: T): void;
|
|
385
|
+
fireNoError(data: T): void;
|
|
386
|
+
// (undocumented)
|
|
387
|
+
handle(callback: EventHandler<T>): IDisposable;
|
|
388
|
+
// (undocumented)
|
|
389
|
+
listenerCount(): number;
|
|
390
|
+
// (undocumented)
|
|
391
|
+
get register(): EventRegister<T>;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// Warning: (ae-missing-release-tag) "ensureDisposeGlobal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
395
|
+
//
|
|
396
|
+
// @public
|
|
397
|
+
export function ensureDisposeGlobal(): Promise<void>;
|
|
398
|
+
|
|
399
|
+
// Warning: (ae-missing-release-tag) "ensureGlobalObject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
400
|
+
//
|
|
401
|
+
// @public (undocumented)
|
|
402
|
+
export function ensureGlobalObject<T>(symbol: string, constructor: () => T): T;
|
|
403
|
+
|
|
404
|
+
// @public (undocumented)
|
|
405
|
+
export function escapeRegExp(str: string): string;
|
|
406
|
+
|
|
407
|
+
// Warning: (ae-missing-release-tag) "EventHandler" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
408
|
+
//
|
|
409
|
+
// @public (undocumented)
|
|
410
|
+
export interface EventHandler<T> {
|
|
411
|
+
// (undocumented)
|
|
412
|
+
(data: T): void;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// Warning: (ae-missing-release-tag) "EventRegister" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
416
|
+
//
|
|
417
|
+
// @public (undocumented)
|
|
418
|
+
export interface EventRegister<T> {
|
|
419
|
+
// (undocumented)
|
|
420
|
+
(callback: EventHandler<T>): IDisposable;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// Warning: (ae-missing-release-tag) "ExtendMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
424
|
+
//
|
|
425
|
+
// @public
|
|
426
|
+
export class ExtendMap<K, V> extends Map<K, V> {
|
|
427
|
+
entry(id: K, init: (id: K) => V): V;
|
|
428
|
+
get(id: K): V;
|
|
429
|
+
get(id: K, def: V): V;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// Warning: (ae-missing-release-tag) "Finder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
433
|
+
//
|
|
434
|
+
// @public
|
|
435
|
+
export interface Finder<Type> {
|
|
436
|
+
// (undocumented)
|
|
437
|
+
(this: Type[], item: Type): number;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
// Warning: (ae-missing-release-tag) "finishAllPromise" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
441
|
+
//
|
|
442
|
+
// @public @deprecated (undocumented)
|
|
443
|
+
export function finishAllPromise<T>(ps: Promise<T>[]): Promise<PromiseResultArray<T>>;
|
|
444
|
+
|
|
445
|
+
// Warning: (ae-missing-release-tag) "fromTimeStamp" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
446
|
+
//
|
|
447
|
+
// @public
|
|
448
|
+
export function fromTimeStamp(timestamp: number): Date;
|
|
449
|
+
|
|
450
|
+
// Warning: (ae-missing-release-tag) "functionName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
451
|
+
//
|
|
452
|
+
// @public
|
|
453
|
+
export function functionName(func: Function): string;
|
|
454
|
+
|
|
455
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
456
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
457
|
+
// Warning: (ae-missing-release-tag) "getErrorFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
458
|
+
//
|
|
459
|
+
// @public
|
|
460
|
+
export function getErrorFrame(e: Error, frame: number): string;
|
|
461
|
+
|
|
462
|
+
// Warning: (ae-missing-release-tag) "getTimeStamp" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
463
|
+
//
|
|
464
|
+
// @public
|
|
465
|
+
export function getTimeStamp(date: Date): number;
|
|
466
|
+
|
|
467
|
+
// @public
|
|
468
|
+
export const globalObject: any;
|
|
469
|
+
|
|
470
|
+
// @public
|
|
471
|
+
export function globalSingleton<T>(symbol: symbol | string, constructor: () => T): T;
|
|
472
|
+
|
|
473
|
+
// @public
|
|
474
|
+
export function globalSingleton<T>(symbol: symbol | string): T | undefined;
|
|
475
|
+
|
|
476
|
+
// @public
|
|
477
|
+
export function globalSingletonDelete(symbol: symbol | string): void;
|
|
478
|
+
|
|
479
|
+
// @public
|
|
480
|
+
export function globalSingletonStrong<T>(symbol: symbol | string, constructor: () => T): T;
|
|
481
|
+
|
|
482
|
+
// @public
|
|
483
|
+
export function globalSingletonStrong<T>(symbol: symbol | string): T | undefined;
|
|
484
|
+
|
|
485
|
+
// Warning: (ae-forgotten-export) The symbol "IConstructorOf" needs to be exported by the entry point _export_all_in_one_index.d.ts
|
|
486
|
+
// Warning: (ae-forgotten-export) The symbol "IHooks" needs to be exported by the entry point _export_all_in_one_index.d.ts
|
|
487
|
+
// Warning: (ae-missing-release-tag) "hookClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
488
|
+
//
|
|
489
|
+
// @public (undocumented)
|
|
490
|
+
export function hookClass<TC extends IConstructorOf<T>, T>(target: TC): IHooks<T, TC>;
|
|
491
|
+
|
|
492
|
+
// Warning: (ae-missing-release-tag) "hookClassSymbol" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
493
|
+
//
|
|
494
|
+
// @public (undocumented)
|
|
495
|
+
export const hookClassSymbol: unique symbol;
|
|
496
|
+
|
|
497
|
+
// Warning: (ae-missing-release-tag) "humanDate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
498
|
+
//
|
|
499
|
+
// @public (undocumented)
|
|
500
|
+
export namespace humanDate {
|
|
501
|
+
export function date(date: Date | string | number, sp?: string): string;
|
|
502
|
+
export function datetime(date: Date | string | number): string;
|
|
503
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
|
504
|
+
export function delta(ms: number): string;
|
|
505
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
|
506
|
+
export function deltaTiny(ms: number): string;
|
|
507
|
+
// (undocumented)
|
|
508
|
+
export interface IFormatters {
|
|
509
|
+
// (undocumented)
|
|
510
|
+
d: ITimeFormatter;
|
|
511
|
+
// (undocumented)
|
|
512
|
+
h: ITimeFormatter;
|
|
513
|
+
// (undocumented)
|
|
514
|
+
m: ITimeFormatter;
|
|
515
|
+
// (undocumented)
|
|
516
|
+
s: ITimeFormatter;
|
|
517
|
+
}
|
|
518
|
+
// (undocumented)
|
|
519
|
+
export interface ITimeFormatter {
|
|
520
|
+
// (undocumented)
|
|
521
|
+
(s: number): string;
|
|
522
|
+
}
|
|
523
|
+
export function setLocaleFormatter(formatter: Partial<IFormatters>): void;
|
|
524
|
+
export function time(date: Date | string | number): string;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
// @public
|
|
528
|
+
export function humanSize(bytes: number, fixed?: number): string;
|
|
529
|
+
|
|
530
|
+
// @public
|
|
531
|
+
export function humanSizeSI(bytes: number, fixed?: number): string;
|
|
532
|
+
|
|
533
|
+
// Warning: (tsdoc-missing-deprecation-message) The @deprecated block must include a deprecation message, e.g. describing the recommended alternative
|
|
534
|
+
// Warning: (ae-missing-release-tag) "humanSpeed" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
535
|
+
//
|
|
536
|
+
// @public @deprecated (undocumented)
|
|
537
|
+
export function humanSpeed(bps: number): string;
|
|
538
|
+
|
|
539
|
+
// @public (undocumented)
|
|
540
|
+
export interface IArrayUpdate<T> {
|
|
541
|
+
// (undocumented)
|
|
542
|
+
add: T[];
|
|
543
|
+
// (undocumented)
|
|
544
|
+
del: T[];
|
|
545
|
+
// (undocumented)
|
|
546
|
+
same: T[];
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
// @public (undocumented)
|
|
550
|
+
export interface IAsyncDisposable {
|
|
551
|
+
// (undocumented)
|
|
552
|
+
dispose(): void | Promise<void>;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
// @public (undocumented)
|
|
556
|
+
export interface IDisposable {
|
|
557
|
+
// (undocumented)
|
|
558
|
+
dispose(): void;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
// Warning: (ae-missing-release-tag) "IDisposableBaseInternal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
562
|
+
//
|
|
563
|
+
// @public (undocumented)
|
|
564
|
+
export interface IDisposableBaseInternal {
|
|
565
|
+
// (undocumented)
|
|
566
|
+
readonly hasDisposed: boolean;
|
|
567
|
+
// (undocumented)
|
|
568
|
+
onBeforeDispose: EventRegister<void>;
|
|
569
|
+
// (undocumented)
|
|
570
|
+
onDisposeError: EventRegister<Error>;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
// Warning: (ae-missing-release-tag) "IEventEmitterObject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
574
|
+
//
|
|
575
|
+
// @public (undocumented)
|
|
576
|
+
export interface IEventEmitterObject<T extends Function> {
|
|
577
|
+
// (undocumented)
|
|
578
|
+
addListener(type: string, handler: T): any;
|
|
579
|
+
// (undocumented)
|
|
580
|
+
removeListener(type: string, handler: T): any;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
// Warning: (ae-missing-release-tag) "IEventHostObject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
584
|
+
//
|
|
585
|
+
// @public (undocumented)
|
|
586
|
+
export interface IEventHostObject<T extends Function> {
|
|
587
|
+
// (undocumented)
|
|
588
|
+
addEventListener(type: string, handler: T, options?: IEventListenerOptions): any;
|
|
589
|
+
// (undocumented)
|
|
590
|
+
removeEventListener(type: string, handler: T, options?: IEventListenerOptions): any;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
// Warning: (ae-missing-release-tag) "IEventListenerOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
594
|
+
//
|
|
595
|
+
// @public (undocumented)
|
|
596
|
+
export interface IEventListenerOptions {
|
|
597
|
+
// (undocumented)
|
|
598
|
+
capture?: boolean;
|
|
599
|
+
// (undocumented)
|
|
600
|
+
once?: boolean;
|
|
601
|
+
// (undocumented)
|
|
602
|
+
passive?: boolean;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// Warning: (ae-missing-release-tag) "init" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
606
|
+
//
|
|
607
|
+
// @public
|
|
608
|
+
export function init<O, T extends keyof O>(init: InitFunc<O, O[T]>): PropertyDecorator;
|
|
609
|
+
|
|
610
|
+
// @public (undocumented)
|
|
611
|
+
export interface InitFunc<O, T> {
|
|
612
|
+
// (undocumented)
|
|
613
|
+
(this: O): T;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
// @public
|
|
617
|
+
export function initOnRead<O, T extends keyof O>(target: any, propertyKey: T, init: InitFunc<O, O[T]>): void;
|
|
618
|
+
|
|
619
|
+
// Warning: (ae-missing-release-tag) "IProgressHolder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
620
|
+
//
|
|
621
|
+
// @public (undocumented)
|
|
622
|
+
export interface IProgressHolder<T, PT> {
|
|
623
|
+
// (undocumented)
|
|
624
|
+
progress(fn: ProgressCallback<PT>): Promise<T> & IProgressHolder<T, PT>;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
// Warning: (tsdoc-unnecessary-backslash) A backslash can only be used to escape a punctuation character
|
|
628
|
+
// Warning: (tsdoc-unnecessary-backslash) A backslash can only be used to escape a punctuation character
|
|
629
|
+
// Warning: (ae-missing-release-tag) "isAbsolute" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
630
|
+
//
|
|
631
|
+
// @public
|
|
632
|
+
export function isAbsolute(path: string): boolean;
|
|
633
|
+
|
|
634
|
+
// @public
|
|
635
|
+
export function isArraySame<T>(a1: T[], a2: T[]): boolean;
|
|
636
|
+
|
|
637
|
+
// @public (undocumented)
|
|
638
|
+
export function isCanceledError(error: any): boolean;
|
|
639
|
+
|
|
640
|
+
// Warning: (ae-missing-release-tag) "isDateInvalid" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
641
|
+
//
|
|
642
|
+
// @public
|
|
643
|
+
export function isDateInvalid(date: Date): boolean;
|
|
644
|
+
|
|
645
|
+
// Warning: (ae-missing-release-tag) "isDisposedError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
646
|
+
//
|
|
647
|
+
// @public (undocumented)
|
|
648
|
+
export function isDisposedError(error: any): boolean;
|
|
649
|
+
|
|
650
|
+
// Warning: (ae-missing-release-tag) "isElectron" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
651
|
+
//
|
|
652
|
+
// @public (undocumented)
|
|
653
|
+
export const isElectron: boolean;
|
|
654
|
+
|
|
655
|
+
// Warning: (ae-missing-release-tag) "isElectronMain" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
656
|
+
//
|
|
657
|
+
// @public (undocumented)
|
|
658
|
+
export const isElectronMain: boolean;
|
|
659
|
+
|
|
660
|
+
// Warning: (ae-missing-release-tag) "isElectronRenderer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
661
|
+
//
|
|
662
|
+
// @public (undocumented)
|
|
663
|
+
export const isElectronRenderer: boolean;
|
|
664
|
+
|
|
665
|
+
// Warning: (ae-missing-release-tag) "isLinux" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
666
|
+
//
|
|
667
|
+
// @public (undocumented)
|
|
668
|
+
export const isLinux: boolean;
|
|
669
|
+
|
|
670
|
+
// Warning: (ae-missing-release-tag) "isMacintosh" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
671
|
+
//
|
|
672
|
+
// @public (undocumented)
|
|
673
|
+
export const isMacintosh: boolean;
|
|
674
|
+
|
|
675
|
+
// Warning: (ae-missing-release-tag) "isNative" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
676
|
+
//
|
|
677
|
+
// @public (undocumented)
|
|
678
|
+
export const isNative: boolean;
|
|
679
|
+
|
|
680
|
+
// Warning: (ae-missing-release-tag) "isObjectSame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
681
|
+
//
|
|
682
|
+
// @public
|
|
683
|
+
export function isObjectSame(a: any, b: any): boolean;
|
|
684
|
+
|
|
685
|
+
// Warning: (ae-missing-release-tag) "isObjectSameRecursive" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
686
|
+
//
|
|
687
|
+
// @public
|
|
688
|
+
export function isObjectSameRecursive(a: any, b: any): boolean;
|
|
689
|
+
|
|
690
|
+
// @public (undocumented)
|
|
691
|
+
export function isTimeoutError(error: Error): error is TimeoutError;
|
|
692
|
+
|
|
693
|
+
// Warning: (ae-missing-release-tag) "isWeb" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
694
|
+
//
|
|
695
|
+
// @public (undocumented)
|
|
696
|
+
export const isWeb: boolean;
|
|
697
|
+
|
|
698
|
+
// Warning: (ae-missing-release-tag) "isWindows" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
699
|
+
//
|
|
700
|
+
// @public (undocumented)
|
|
701
|
+
export const isWindows: boolean;
|
|
702
|
+
|
|
703
|
+
// Warning: (ae-missing-release-tag) "IUniqueIdFactory" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
704
|
+
//
|
|
705
|
+
// @public (undocumented)
|
|
706
|
+
export interface IUniqueIdFactory<T> {
|
|
707
|
+
// (undocumented)
|
|
708
|
+
(item: T): string;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
// @public
|
|
712
|
+
export function lcfirst<T extends string>(str: T): Uncapitalize<T>;
|
|
713
|
+
|
|
714
|
+
// @alpha
|
|
715
|
+
export abstract class LifecycleObject extends AsyncDisposable {
|
|
716
|
+
// (undocumented)
|
|
717
|
+
dispose(): Promise<void>;
|
|
718
|
+
protected abstract done(): void;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
// @public (undocumented)
|
|
722
|
+
export function linux_case(str: string): string;
|
|
723
|
+
|
|
724
|
+
// @public (undocumented)
|
|
725
|
+
export function linux_case_hyphen(str: string): string;
|
|
726
|
+
|
|
727
|
+
// Warning: (ae-missing-release-tag) "MapLike" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
728
|
+
//
|
|
729
|
+
// @public (undocumented)
|
|
730
|
+
export interface MapLike<V> {
|
|
731
|
+
// (undocumented)
|
|
732
|
+
[id: string]: V;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
// Warning: (ae-missing-release-tag) "MaybeNamedFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
736
|
+
//
|
|
737
|
+
// @public (undocumented)
|
|
738
|
+
export interface MaybeNamedFunction extends Function {
|
|
739
|
+
// (undocumented)
|
|
740
|
+
displayName?: string;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
// Warning: (ae-missing-release-tag) "memo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
744
|
+
//
|
|
745
|
+
// @public
|
|
746
|
+
export const memo: MethodDecorator;
|
|
747
|
+
|
|
748
|
+
// Warning: (ae-missing-release-tag) "memorizeValueSymbol" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
749
|
+
//
|
|
750
|
+
// @public (undocumented)
|
|
751
|
+
export const memorizeValueSymbol: unique symbol;
|
|
752
|
+
|
|
753
|
+
// Warning: (ae-missing-release-tag) "MyAsyncCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
754
|
+
//
|
|
755
|
+
// @public (undocumented)
|
|
756
|
+
export interface MyAsyncCallback<Argument extends unknown[]> {
|
|
757
|
+
// (undocumented)
|
|
758
|
+
(...param: Argument): Promise<void | undefined | boolean> | void | undefined | boolean;
|
|
759
|
+
// (undocumented)
|
|
760
|
+
displayName?: string;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
// Warning: (ae-missing-release-tag) "MyCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
764
|
+
//
|
|
765
|
+
// @public (undocumented)
|
|
766
|
+
export interface MyCallback<Argument extends unknown[]> {
|
|
767
|
+
// (undocumented)
|
|
768
|
+
(...param: Argument): any;
|
|
769
|
+
// (undocumented)
|
|
770
|
+
displayName?: string;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
// Warning: (ae-missing-release-tag) "MyDelayCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
774
|
+
//
|
|
775
|
+
// @public (undocumented)
|
|
776
|
+
export interface MyDelayCallback<Argument extends unknown[]> {
|
|
777
|
+
// (undocumented)
|
|
778
|
+
(...param: Argument): void;
|
|
779
|
+
// (undocumented)
|
|
780
|
+
displayName?: string;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
// Warning: (ae-missing-release-tag) "NamedFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
784
|
+
//
|
|
785
|
+
// @public
|
|
786
|
+
export interface NamedFunction extends Function {
|
|
787
|
+
// (undocumented)
|
|
788
|
+
displayName: string;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
// Warning: (ae-missing-release-tag) "nameFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
792
|
+
//
|
|
793
|
+
// @public
|
|
794
|
+
export function nameFunction<T extends Function>(name: string, func: T): T & NamedFunction;
|
|
795
|
+
|
|
796
|
+
// Warning: (ae-missing-release-tag) "nextDay" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
797
|
+
//
|
|
798
|
+
// @public (undocumented)
|
|
799
|
+
export function nextDay(d: Date, n?: number): Date;
|
|
800
|
+
|
|
801
|
+
// Warning: (ae-missing-release-tag) "nextHour" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
802
|
+
//
|
|
803
|
+
// @public (undocumented)
|
|
804
|
+
export function nextHour(d: Date, n?: number): Date;
|
|
805
|
+
|
|
806
|
+
// Warning: (ae-missing-release-tag) "nextMinute" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
807
|
+
//
|
|
808
|
+
// @public (undocumented)
|
|
809
|
+
export function nextMinute(d: Date, n?: number): Date;
|
|
810
|
+
|
|
811
|
+
// Warning: (ae-missing-release-tag) "nextMonth" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
812
|
+
//
|
|
813
|
+
// @public (undocumented)
|
|
814
|
+
export function nextMonth(d: Date, n?: number): Date;
|
|
815
|
+
|
|
816
|
+
// Warning: (ae-missing-release-tag) "nextSecond" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
817
|
+
//
|
|
818
|
+
// @public (undocumented)
|
|
819
|
+
export function nextSecond(d: Date, n?: number): Date;
|
|
820
|
+
|
|
821
|
+
// Warning: (ae-missing-release-tag) "nextWeek" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
822
|
+
//
|
|
823
|
+
// @public (undocumented)
|
|
824
|
+
export function nextWeek(d: Date, n?: number): Date;
|
|
825
|
+
|
|
826
|
+
// Warning: (ae-missing-release-tag) "nextYear" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
827
|
+
//
|
|
828
|
+
// @public (undocumented)
|
|
829
|
+
export function nextYear(d: Date, n?: number): Date;
|
|
830
|
+
|
|
831
|
+
// @public
|
|
832
|
+
export function normalizeArray<T>(input: T | T[]): T[];
|
|
833
|
+
|
|
834
|
+
// Warning: (tsdoc-unnecessary-backslash) A backslash can only be used to escape a punctuation character
|
|
835
|
+
// Warning: (ae-missing-release-tag) "normalizePath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
836
|
+
//
|
|
837
|
+
// @public
|
|
838
|
+
export function normalizePath(p: string): string;
|
|
839
|
+
|
|
840
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
841
|
+
// Warning: (ae-missing-release-tag) "objectPath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
842
|
+
//
|
|
843
|
+
// @public
|
|
844
|
+
export function objectPath(obj: object, path: string): any;
|
|
845
|
+
|
|
846
|
+
// Warning: (ae-missing-release-tag) "oneDay" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
847
|
+
//
|
|
848
|
+
// @public (undocumented)
|
|
849
|
+
export const oneDay = 86400000;
|
|
850
|
+
|
|
851
|
+
// Warning: (ae-missing-release-tag) "oneHour" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
852
|
+
//
|
|
853
|
+
// @public (undocumented)
|
|
854
|
+
export const oneHour = 1440000;
|
|
855
|
+
|
|
856
|
+
// Warning: (ae-missing-release-tag) "oneMinute" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
857
|
+
//
|
|
858
|
+
// @public (undocumented)
|
|
859
|
+
export const oneMinute = 60000;
|
|
860
|
+
|
|
861
|
+
// Warning: (ae-missing-release-tag) "oneSecond" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
862
|
+
//
|
|
863
|
+
// @public (undocumented)
|
|
864
|
+
export const oneSecond = 1000;
|
|
865
|
+
|
|
866
|
+
// Warning: (ae-missing-release-tag) "oneWeek" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
867
|
+
//
|
|
868
|
+
// @public (undocumented)
|
|
869
|
+
export const oneWeek = 604800000;
|
|
870
|
+
|
|
871
|
+
// @public
|
|
872
|
+
export function pad2(s: number): string;
|
|
873
|
+
|
|
874
|
+
// Warning: (ae-missing-release-tag) "PathArray" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
875
|
+
//
|
|
876
|
+
// @public
|
|
877
|
+
export class PathArray extends Set<string> {
|
|
878
|
+
constructor(init: string, sep: ':' | ';');
|
|
879
|
+
// (undocumented)
|
|
880
|
+
add(paths: string): this;
|
|
881
|
+
// (undocumented)
|
|
882
|
+
delete(paths: string): boolean;
|
|
883
|
+
// (undocumented)
|
|
884
|
+
has(path: string): boolean;
|
|
885
|
+
// (undocumented)
|
|
886
|
+
join(part: string): string[];
|
|
887
|
+
// (undocumented)
|
|
888
|
+
toString(): string;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
// Warning: (ae-missing-release-tag) "ProgressCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
892
|
+
//
|
|
893
|
+
// @public (undocumented)
|
|
894
|
+
export type ProgressCallback<T = any> = (value: T) => void;
|
|
895
|
+
|
|
896
|
+
// Warning: (ae-missing-release-tag) "promiseBool" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
897
|
+
//
|
|
898
|
+
// @public
|
|
899
|
+
export function promiseBool(p: Promise<any>): Promise<boolean>;
|
|
900
|
+
|
|
901
|
+
// Warning: (ae-missing-release-tag) "PromisePool" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
902
|
+
//
|
|
903
|
+
// @public (undocumented)
|
|
904
|
+
export class PromisePool {
|
|
905
|
+
// (undocumented)
|
|
906
|
+
create(id: string): Promise<any> & IProgressHolder<any, any>;
|
|
907
|
+
// (undocumented)
|
|
908
|
+
dispose(): void;
|
|
909
|
+
// (undocumented)
|
|
910
|
+
done(id: string, data: any): void;
|
|
911
|
+
// (undocumented)
|
|
912
|
+
error(id: string, e: Error): void;
|
|
913
|
+
// (undocumented)
|
|
914
|
+
has(id: string): boolean;
|
|
915
|
+
// (undocumented)
|
|
916
|
+
protected readonly promiseList: Record<string, DeferredPromise<any>>;
|
|
917
|
+
// (undocumented)
|
|
918
|
+
size(): number;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
// Warning: (tsdoc-missing-deprecation-message) The @deprecated block must include a deprecation message, e.g. describing the recommended alternative
|
|
922
|
+
// Warning: (ae-missing-release-tag) "PromiseResultArray" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
923
|
+
//
|
|
924
|
+
// @public @deprecated (undocumented)
|
|
925
|
+
export interface PromiseResultArray<T> {
|
|
926
|
+
// (undocumented)
|
|
927
|
+
count: number;
|
|
928
|
+
// (undocumented)
|
|
929
|
+
fulfilled: number[];
|
|
930
|
+
// (undocumented)
|
|
931
|
+
fulfilledResult: T[];
|
|
932
|
+
// (undocumented)
|
|
933
|
+
rejected: number[];
|
|
934
|
+
// (undocumented)
|
|
935
|
+
rejectedResult: Error[];
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
// Warning: (ae-missing-release-tag) "RegexpFinder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
939
|
+
//
|
|
940
|
+
// @public (undocumented)
|
|
941
|
+
export function RegexpFinder(this: RegExp[], item: RegExp): number;
|
|
942
|
+
|
|
943
|
+
// Warning: (ae-missing-release-tag) "registerGlobalLifecycle" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
944
|
+
//
|
|
945
|
+
// @public
|
|
946
|
+
export function registerGlobalLifecycle(object: IDisposable): void;
|
|
947
|
+
|
|
948
|
+
// Warning: (ae-missing-release-tag) "singleton" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
949
|
+
//
|
|
950
|
+
// @public (undocumented)
|
|
951
|
+
export function singleton(type?: SingletonType): ClassDecorator;
|
|
952
|
+
|
|
953
|
+
// Warning: (ae-missing-release-tag) "singletonSymbol" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
954
|
+
//
|
|
955
|
+
// @public (undocumented)
|
|
956
|
+
export const singletonSymbol: unique symbol;
|
|
957
|
+
|
|
958
|
+
// Warning: (ae-missing-release-tag) "SingletonType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
959
|
+
//
|
|
960
|
+
// @public (undocumented)
|
|
961
|
+
export enum SingletonType {
|
|
962
|
+
// (undocumented)
|
|
963
|
+
Return = 1,
|
|
964
|
+
// (undocumented)
|
|
965
|
+
Throw = 0
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
// Warning: (ae-missing-release-tag) "sleep" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
969
|
+
//
|
|
970
|
+
// @public (undocumented)
|
|
971
|
+
export function sleep(ms: number): Promise<void>;
|
|
972
|
+
|
|
973
|
+
// @public
|
|
974
|
+
export function sortByString(a: string, b: string): number;
|
|
975
|
+
|
|
976
|
+
// @public
|
|
977
|
+
export function throwNull<T>(val: T): NonNullable<T>;
|
|
978
|
+
|
|
979
|
+
// Warning: (ae-missing-release-tag) "timeout" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
980
|
+
//
|
|
981
|
+
// @public (undocumented)
|
|
982
|
+
export function timeout(ms: number, error?: string): Promise<never>;
|
|
983
|
+
|
|
984
|
+
// @public
|
|
985
|
+
export class TimeoutError extends Error {
|
|
986
|
+
constructor(time: number, what?: string);
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
// Warning: (ae-missing-release-tag) "timeoutPromise" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
990
|
+
// Warning: (ae-missing-release-tag) "timeoutPromise" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
991
|
+
// Warning: (ae-missing-release-tag) "timeoutPromise" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
992
|
+
// Warning: (ae-missing-release-tag) "timeoutPromise" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
993
|
+
//
|
|
994
|
+
// @public (undocumented)
|
|
995
|
+
export function timeoutPromise<T>(ms: number, p: Promise<T>): Promise<T>;
|
|
996
|
+
|
|
997
|
+
// @public (undocumented)
|
|
998
|
+
export function timeoutPromise<T>(ms: number, message: string, p: Promise<T>): Promise<T>;
|
|
999
|
+
|
|
1000
|
+
// @public (undocumented)
|
|
1001
|
+
export function timeoutPromise<T, PT = any>(ms: number, p: DeferredPromise<T, PT>): DeferredPromise<T, PT>;
|
|
1002
|
+
|
|
1003
|
+
// @public (undocumented)
|
|
1004
|
+
export function timeoutPromise<T, PT = any>(ms: number, message: string, p: DeferredPromise<T, PT>): DeferredPromise<T, PT>;
|
|
1005
|
+
|
|
1006
|
+
// Warning: (ae-missing-release-tag) "TimeoutPromisePool" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1007
|
+
//
|
|
1008
|
+
// @public (undocumented)
|
|
1009
|
+
export class TimeoutPromisePool extends PromisePool {
|
|
1010
|
+
constructor(defaultTimeoutMs?: number);
|
|
1011
|
+
// (undocumented)
|
|
1012
|
+
create(id: string, timeoutMs?: number, timeoutMsg?: string): Promise<any> & IProgressHolder<any, any>;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
// @public
|
|
1016
|
+
export function toDisposable(fn: () => void): IDisposable;
|
|
1017
|
+
|
|
1018
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
1019
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
1020
|
+
// Warning: (ae-missing-release-tag) "tryInspect" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1021
|
+
//
|
|
1022
|
+
// @public
|
|
1023
|
+
export function tryInspect(object: any): any;
|
|
1024
|
+
|
|
1025
|
+
// @public
|
|
1026
|
+
export function ucfirst<T extends string>(str: T): Capitalize<T>;
|
|
1027
|
+
|
|
1028
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
1029
|
+
// Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
|
|
1030
|
+
//
|
|
1031
|
+
// @public
|
|
1032
|
+
export function uniqueFilter<T>(idFactory?: IUniqueIdFactory<T>): (item: T) => boolean;
|
|
1033
|
+
|
|
1034
|
+
// Warning: (ae-forgotten-export) The symbol "Unsubscribable" needs to be exported by the entry point _export_all_in_one_index.d.ts
|
|
1035
|
+
// Warning: (ae-missing-release-tag) "unsubscribableToDisposable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1036
|
+
//
|
|
1037
|
+
// @public (undocumented)
|
|
1038
|
+
export function unsubscribableToDisposable(subscription: Unsubscribable): {
|
|
1039
|
+
dispose: () => void;
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
// Warning: (ae-missing-release-tag) "userAgent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1043
|
+
//
|
|
1044
|
+
// @public (undocumented)
|
|
1045
|
+
export const userAgent: string;
|
|
1046
|
+
|
|
1047
|
+
// Warning: (ae-missing-release-tag) "ValueCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1048
|
+
//
|
|
1049
|
+
// @public (undocumented)
|
|
1050
|
+
export type ValueCallback<T = any> = (value: T | Promise<T>) => void;
|
|
1051
|
+
|
|
1052
|
+
// Warning: (ae-missing-release-tag) "WrappedConsole" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1053
|
+
//
|
|
1054
|
+
// @public (undocumented)
|
|
1055
|
+
export abstract class WrappedConsole {
|
|
1056
|
+
constructor(title: string, { parent, bind }?: WrappedConsoleOptions);
|
|
1057
|
+
// (undocumented)
|
|
1058
|
+
assert: Console['assert'];
|
|
1059
|
+
// (undocumented)
|
|
1060
|
+
protected readonly bind: boolean;
|
|
1061
|
+
// (undocumented)
|
|
1062
|
+
clear: Console['clear'];
|
|
1063
|
+
// (undocumented)
|
|
1064
|
+
count: Console['count'];
|
|
1065
|
+
// (undocumented)
|
|
1066
|
+
countReset: Console['countReset'];
|
|
1067
|
+
// (undocumented)
|
|
1068
|
+
protected createPrefix(message: string): string;
|
|
1069
|
+
// (undocumented)
|
|
1070
|
+
debug: Console['debug'];
|
|
1071
|
+
// (undocumented)
|
|
1072
|
+
dir: Console['dir'];
|
|
1073
|
+
// (undocumented)
|
|
1074
|
+
error: Console['error'];
|
|
1075
|
+
// (undocumented)
|
|
1076
|
+
group: Console['group'];
|
|
1077
|
+
// (undocumented)
|
|
1078
|
+
groupCollapsed: Console['groupCollapsed'];
|
|
1079
|
+
// (undocumented)
|
|
1080
|
+
groupEnd: Console['groupEnd'];
|
|
1081
|
+
// (undocumented)
|
|
1082
|
+
info: Console['info'];
|
|
1083
|
+
// (undocumented)
|
|
1084
|
+
log: Console['log'];
|
|
1085
|
+
// (undocumented)
|
|
1086
|
+
protected readonly parent: Console;
|
|
1087
|
+
// (undocumented)
|
|
1088
|
+
protected abstract processColorLabel(normalizedArguments: any[], messageLoc: number, level: string, prefix: string): void;
|
|
1089
|
+
// (undocumented)
|
|
1090
|
+
success: Console['log'];
|
|
1091
|
+
// (undocumented)
|
|
1092
|
+
table: Console['table'];
|
|
1093
|
+
// (undocumented)
|
|
1094
|
+
time: Console['time'];
|
|
1095
|
+
// (undocumented)
|
|
1096
|
+
timeEnd: Console['timeEnd'];
|
|
1097
|
+
// (undocumented)
|
|
1098
|
+
timeLog: Console['timeLog'];
|
|
1099
|
+
// (undocumented)
|
|
1100
|
+
protected readonly title: string;
|
|
1101
|
+
// (undocumented)
|
|
1102
|
+
trace: Console['trace'];
|
|
1103
|
+
// (undocumented)
|
|
1104
|
+
protected uncolor(args: any[], pos: number, prefix: string, postfix: string): void;
|
|
1105
|
+
// (undocumented)
|
|
1106
|
+
warn: Console['warn'];
|
|
1107
|
+
// (undocumented)
|
|
1108
|
+
protected wrap<T extends keyof Omit<Console & {
|
|
1109
|
+
Console: any;
|
|
1110
|
+
}, 'Console'>>(original: T): Function;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
// Warning: (ae-missing-release-tag) "WrappedConsoleOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1114
|
+
//
|
|
1115
|
+
// @public (undocumented)
|
|
1116
|
+
export interface WrappedConsoleOptions {
|
|
1117
|
+
// (undocumented)
|
|
1118
|
+
bind?: boolean;
|
|
1119
|
+
// (undocumented)
|
|
1120
|
+
parent?: Console;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
// (No @packageDocumentation comment for this package)
|
|
1124
|
+
|
|
1125
|
+
```
|