@augment-vir/assert 30.0.0 → 30.0.1
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/README.md +11 -0
- package/dist/assertions/boolean.d.ts +443 -17
- package/dist/assertions/boolean.js +365 -8
- package/dist/assertions/boundary.d.ts +657 -13
- package/dist/assertions/boundary.js +537 -5
- package/dist/assertions/enum.d.ts +236 -8
- package/dist/assertions/enum.js +197 -5
- package/dist/assertions/equality/entry-equality.d.ts +287 -11
- package/dist/assertions/equality/entry-equality.js +243 -6
- package/dist/assertions/equality/json-equality.d.ts +244 -15
- package/dist/assertions/equality/json-equality.js +207 -11
- package/dist/assertions/equality/simple-equality.d.ts +849 -28
- package/dist/assertions/equality/simple-equality.js +712 -6
- package/dist/assertions/equality/ts-type-equality.d.ts +37 -1
- package/dist/assertions/equality/ts-type-equality.js +13 -1
- package/dist/assertions/extendable-assertions.d.ts +288 -120
- package/dist/assertions/extendable-assertions.js +32 -60
- package/dist/assertions/http.d.ts +217 -10
- package/dist/assertions/http.js +182 -6
- package/dist/assertions/instance.d.ts +189 -8
- package/dist/assertions/instance.js +159 -5
- package/dist/assertions/keys.d.ts +658 -13
- package/dist/assertions/keys.js +556 -5
- package/dist/assertions/length.d.ts +381 -9
- package/dist/assertions/length.js +309 -5
- package/dist/assertions/nullish.d.ts +169 -7
- package/dist/assertions/nullish.js +137 -6
- package/dist/assertions/numeric.d.ts +965 -11
- package/dist/assertions/numeric.js +819 -1
- package/dist/assertions/output.d.ts +107 -7
- package/dist/assertions/output.js +92 -5
- package/dist/assertions/primitive.d.ts +416 -13
- package/dist/assertions/primitive.js +352 -6
- package/dist/assertions/promise.d.ts +640 -21
- package/dist/assertions/promise.js +536 -15
- package/dist/assertions/regexp.d.ts +202 -3
- package/dist/assertions/regexp.js +173 -1
- package/dist/assertions/runtime-type.d.ts +1822 -41
- package/dist/assertions/runtime-type.js +1558 -35
- package/dist/assertions/throws.d.ts +265 -17
- package/dist/assertions/throws.js +229 -17
- package/dist/assertions/uuid.d.ts +233 -10
- package/dist/assertions/uuid.js +195 -6
- package/dist/assertions/values.d.ts +1086 -15
- package/dist/assertions/values.js +907 -6
- package/dist/augments/assertion.error.d.ts +2 -1
- package/dist/augments/assertion.error.js +2 -1
- package/dist/augments/guards/assert-wrap.d.ts +82 -37
- package/dist/augments/guards/assert-wrap.js +13 -2
- package/dist/augments/guards/assert.d.ts +30 -14
- package/dist/augments/guards/assert.js +21 -4
- package/dist/augments/guards/check-wrap.d.ts +94 -51
- package/dist/augments/guards/check-wrap.js +11 -3
- package/dist/augments/guards/check.d.ts +87 -37
- package/dist/augments/guards/check.js +9 -2
- package/dist/augments/guards/wait-until.d.ts +110 -103
- package/dist/augments/guards/wait-until.js +18 -3
- package/dist/augments/if-equals.d.ts +4 -2
- package/dist/guard-types/assert-wrap-function.d.ts +5 -2
- package/dist/guard-types/check-function.d.ts +5 -2
- package/dist/guard-types/check-wrap-wrapper-function.d.ts +4 -1
- package/dist/guard-types/guard-group.d.ts +7 -8
- package/dist/guard-types/wait-until-function.d.ts +8 -3
- package/dist/guard-types/wait-until-function.js +1 -1
- package/package.json +17 -4
|
@@ -17,13 +17,13 @@ export declare const extendableAssertions: {
|
|
|
17
17
|
isNotEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("./values.js").Empty>;
|
|
18
18
|
isUuid: (actual: unknown, failureMessage?: string | undefined) => asserts actual is import("@augment-vir/core").Uuid;
|
|
19
19
|
isNotUuid: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("@augment-vir/core").Uuid>;
|
|
20
|
-
isError: (actual: unknown, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined) => asserts actual is Error;
|
|
21
20
|
throws: {
|
|
22
21
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, never>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): void;
|
|
23
22
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, Promise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Promise<void>;
|
|
24
23
|
(callback: import("@augment-vir/core").TypedFunction<void, any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): void;
|
|
25
24
|
(callback: import("@augment-vir/core").TypedFunction<void, import("@augment-vir/core").MaybePromise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): import("@augment-vir/core").MaybePromise<void>;
|
|
26
25
|
};
|
|
26
|
+
isError: (actual: unknown, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined) => asserts actual is Error;
|
|
27
27
|
strictEquals: typeof import("./equality/simple-equality.js").strictEquals;
|
|
28
28
|
notStrictEquals: (actual: unknown, expected: unknown, failureMessage?: string | undefined) => void;
|
|
29
29
|
looseEquals: (actual: unknown, expected: unknown, failureMessage?: string | undefined) => void;
|
|
@@ -44,12 +44,12 @@ export declare const extendableAssertions: {
|
|
|
44
44
|
isNotBigInt: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, bigint>;
|
|
45
45
|
isNotBoolean: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, boolean>;
|
|
46
46
|
isNotFunction: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("@augment-vir/core").AnyFunction>;
|
|
47
|
+
isNotNull: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, null>;
|
|
47
48
|
isNotNumber: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, number>;
|
|
48
49
|
isNotObject: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("@augment-vir/core").UnknownObject>;
|
|
49
50
|
isNotString: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, string>;
|
|
50
51
|
isNotSymbol: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, symbol>;
|
|
51
52
|
isNotUndefined: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, undefined>;
|
|
52
|
-
isNotNull: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, null>;
|
|
53
53
|
matches: (actual: string, expected: RegExp, failureMessage?: string | undefined) => void;
|
|
54
54
|
mismatches: (actual: string, expected: RegExp, failureMessage?: string | undefined) => void;
|
|
55
55
|
isPromiseLike: (actual: unknown, failureMessage?: string | undefined) => asserts actual is PromiseLike<any>;
|
|
@@ -113,39 +113,48 @@ export declare const extendableAssertions: {
|
|
|
113
113
|
(parent: string, child: string, failureMessage?: string | undefined): void;
|
|
114
114
|
(parent: string | ReadonlyArray<string>, child: string, failureMessage?: string | undefined): void;
|
|
115
115
|
};
|
|
116
|
+
isFalse: (input: unknown, failureMessage?: string | undefined) => asserts input is false;
|
|
116
117
|
isFalsy: (input: unknown, failureMessage?: string | undefined) => asserts input is import("./boolean.js").FalsyValue;
|
|
117
|
-
isTruthy: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is import("./boolean.js").Truthy<Actual>;
|
|
118
118
|
isTrue: (input: unknown, failureMessage?: string | undefined) => asserts input is true;
|
|
119
|
-
|
|
119
|
+
isTruthy: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is import("./boolean.js").Truthy<Actual>;
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
122
122
|
* These overrides are required for more complex guards because TypeScript won't allow us to
|
|
123
123
|
* maintain function type parameters when mapping such functions.
|
|
124
124
|
*/
|
|
125
125
|
export declare const guardOverrides: [{
|
|
126
|
-
|
|
126
|
+
assert: {
|
|
127
|
+
isFalse: (input: unknown, failureMessage?: string | undefined) => asserts input is false;
|
|
127
128
|
isFalsy: (input: unknown, failureMessage?: string | undefined) => asserts input is import("./boolean.js").FalsyValue;
|
|
128
|
-
isTruthy: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is import("./boolean.js").Truthy<Actual>;
|
|
129
129
|
isTrue: (input: unknown, failureMessage?: string | undefined) => asserts input is true;
|
|
130
|
-
|
|
130
|
+
isTruthy: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is import("./boolean.js").Truthy<Actual>;
|
|
131
131
|
};
|
|
132
|
-
|
|
132
|
+
check: {
|
|
133
|
+
isFalse: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
134
|
+
isFalsy: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
135
|
+
isTrue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
133
136
|
isTruthy: <T>(input: T) => input is import("./boolean.js").Truthy<T>;
|
|
134
137
|
};
|
|
135
|
-
|
|
138
|
+
assertWrap: {
|
|
139
|
+
isFalse: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
136
140
|
isFalsy: <T>(input: T, failureMessage?: string | undefined) => import("./boolean.js").Falsy<T>;
|
|
141
|
+
isTrue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
137
142
|
isTruthy: <T>(input: T, failureMessage?: string | undefined) => import("./boolean.js").Truthy<T>;
|
|
138
143
|
};
|
|
139
|
-
|
|
144
|
+
checkWrap: {
|
|
145
|
+
isFalse: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
140
146
|
isFalsy: <T>(input: T) => import("./boolean.js").Falsy<T> | undefined;
|
|
147
|
+
isTrue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
141
148
|
isTruthy: <T>(input: T) => import("./boolean.js").Truthy<T> | undefined;
|
|
142
149
|
};
|
|
143
|
-
|
|
150
|
+
waitUntil: {
|
|
151
|
+
isFalse: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
144
152
|
isFalsy: <Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("./boolean.js").Falsy<Actual>>;
|
|
153
|
+
isTrue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
145
154
|
isTruthy: <Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("./boolean.js").Truthy<Actual>>;
|
|
146
155
|
};
|
|
147
156
|
}, {
|
|
148
|
-
|
|
157
|
+
assert: {
|
|
149
158
|
endsWith: {
|
|
150
159
|
<const ArrayElement>(parent: ReadonlyArray<ArrayElement>, child: ArrayElement, failureMessage?: string | undefined): void;
|
|
151
160
|
(parent: string, child: string, failureMessage?: string | undefined): void;
|
|
@@ -167,7 +176,7 @@ export declare const guardOverrides: [{
|
|
|
167
176
|
(parent: string | ReadonlyArray<string>, child: string, failureMessage?: string | undefined): void;
|
|
168
177
|
};
|
|
169
178
|
};
|
|
170
|
-
|
|
179
|
+
check: {
|
|
171
180
|
endsWith: {
|
|
172
181
|
<const ArrayElement>(parent: ReadonlyArray<ArrayElement>, child: ArrayElement, failureMessage?: string | undefined): boolean;
|
|
173
182
|
(parent: string, child: string, failureMessage?: string | undefined): boolean;
|
|
@@ -189,7 +198,7 @@ export declare const guardOverrides: [{
|
|
|
189
198
|
(parent: string | ReadonlyArray<string>, child: string, failureMessage?: string | undefined): boolean;
|
|
190
199
|
};
|
|
191
200
|
};
|
|
192
|
-
|
|
201
|
+
assertWrap: {
|
|
193
202
|
endsWith: {
|
|
194
203
|
<const ArrayElement>(parent: ReadonlyArray<ArrayElement>, child: ArrayElement, failureMessage?: string | undefined): typeof parent;
|
|
195
204
|
(parent: string, child: string, failureMessage?: string | undefined): typeof parent;
|
|
@@ -211,7 +220,7 @@ export declare const guardOverrides: [{
|
|
|
211
220
|
(parent: string | ReadonlyArray<string>, child: string, failureMessage?: string | undefined): typeof parent;
|
|
212
221
|
};
|
|
213
222
|
};
|
|
214
|
-
|
|
223
|
+
checkWrap: {
|
|
215
224
|
endsWith: {
|
|
216
225
|
<const ArrayElement>(parent: ReadonlyArray<ArrayElement>, child: ArrayElement, failureMessage?: string | undefined): typeof parent | undefined;
|
|
217
226
|
(parent: string, child: string, failureMessage?: string | undefined): typeof parent | undefined;
|
|
@@ -233,7 +242,7 @@ export declare const guardOverrides: [{
|
|
|
233
242
|
(parent: string | ReadonlyArray<string>, child: string, failureMessage?: string | undefined): typeof parent | undefined;
|
|
234
243
|
};
|
|
235
244
|
};
|
|
236
|
-
|
|
245
|
+
waitUntil: {
|
|
237
246
|
endsWith: {
|
|
238
247
|
<const ArrayElement>(child: ArrayElement, callback: () => import("@augment-vir/core").MaybePromise<ReadonlyArray<ArrayElement>>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined): Promise<ReadonlyArray<ArrayElement>>;
|
|
239
248
|
(child: string, callback: () => import("@augment-vir/core").MaybePromise<string>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined): Promise<string>;
|
|
@@ -256,83 +265,91 @@ export declare const guardOverrides: [{
|
|
|
256
265
|
};
|
|
257
266
|
};
|
|
258
267
|
}, {
|
|
259
|
-
|
|
268
|
+
assert: {
|
|
260
269
|
entriesEqual: <const Actual extends object, const Expected extends Actual>(actual: Actual, expected: Expected, failureMessage?: string | undefined) => asserts actual is Expected;
|
|
261
270
|
notEntriesEqual: (actual: object, expected: object, failureMessage?: string | undefined) => void;
|
|
262
271
|
};
|
|
263
|
-
|
|
272
|
+
check: {
|
|
264
273
|
entriesEqual: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => actual is Expected;
|
|
274
|
+
notEntriesEqual: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
265
275
|
};
|
|
266
|
-
|
|
276
|
+
assertWrap: {
|
|
267
277
|
entriesEqual: <Actual, Expected extends Actual>(actual: Actual, expected: Expected, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, Expected>;
|
|
278
|
+
notEntriesEqual: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
268
279
|
};
|
|
269
|
-
|
|
280
|
+
checkWrap: {
|
|
270
281
|
entriesEqual: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => import("@augment-vir/core").NarrowToExpected<Actual, Expected> | undefined;
|
|
282
|
+
notEntriesEqual: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
271
283
|
};
|
|
272
|
-
|
|
284
|
+
waitUntil: {
|
|
273
285
|
entriesEqual: <Actual, Expected extends Actual>(expected: Expected, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Actual, Expected>>;
|
|
286
|
+
notEntriesEqual: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
274
287
|
};
|
|
275
288
|
}, {
|
|
276
|
-
|
|
289
|
+
assert: {
|
|
277
290
|
isEnumValue: typeof import("./enum.js").isEnumValue;
|
|
278
291
|
isNotEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(child: Actual, checkEnum: Expected, failureMessage?: string | undefined) => asserts child is Exclude<Actual, Expected[keyof Expected] | `${Expected[keyof Expected]}`>;
|
|
279
292
|
};
|
|
280
|
-
|
|
293
|
+
check: {
|
|
281
294
|
isEnumValue: <const Expected extends import("@augment-vir/core").EnumBaseType>(child: unknown, checkEnum: Expected) => child is Expected[keyof Expected];
|
|
282
295
|
isNotEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(child: Actual, checkEnum: Expected) => child is Exclude<Actual, Expected[keyof Expected] | `${Expected[keyof Expected]}`>;
|
|
283
296
|
};
|
|
284
|
-
|
|
297
|
+
assertWrap: {
|
|
285
298
|
isEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(child: Actual, checkEnum: Expected, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, Expected[keyof Expected]>;
|
|
286
299
|
isNotEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(child: Actual, checkEnum: Expected, failureMessage?: string | undefined) => Exclude<Actual, Expected[keyof Expected] | `${Expected[keyof Expected]}`>;
|
|
287
300
|
};
|
|
288
|
-
|
|
301
|
+
checkWrap: {
|
|
289
302
|
isEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(child: Actual, checkEnum: Expected) => import("@augment-vir/core").NarrowToExpected<Actual, Expected[keyof Expected]> | undefined;
|
|
290
303
|
isNotEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(child: Actual, checkEnum: Expected) => Exclude<Actual, Expected[keyof Expected] | `${Expected[keyof Expected]}`> | undefined;
|
|
291
304
|
};
|
|
292
|
-
|
|
305
|
+
waitUntil: {
|
|
293
306
|
isEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(checkEnum: Expected, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Actual, Expected[keyof Expected]>>;
|
|
294
307
|
isNotEnumValue: <const Actual, const Expected extends import("@augment-vir/core").EnumBaseType>(checkEnum: Expected, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, Expected[keyof Expected] | `${Expected[keyof Expected]}`>>;
|
|
295
308
|
};
|
|
296
309
|
}, {
|
|
297
|
-
|
|
310
|
+
assert: {
|
|
298
311
|
instanceOf: <const Instance>(instance: unknown, constructor: import("type-fest").Constructor<Instance>, failureMessage?: string | undefined) => asserts instance is Instance;
|
|
299
312
|
notInstanceOf: <const Actual, const Instance>(instance: Actual, constructor: import("type-fest").Constructor<Instance>, failureMessage?: string | undefined) => asserts instance is Exclude<Actual, Instance>;
|
|
300
313
|
};
|
|
301
|
-
|
|
314
|
+
check: {
|
|
302
315
|
instanceOf: <const Instance>(instance: unknown, constructor: import("type-fest").Constructor<Instance>) => instance is Instance;
|
|
303
316
|
notInstanceOf: <const Actual, const Instance>(instance: Actual, constructor: import("type-fest").Constructor<Instance>) => instance is Exclude<Actual, Instance>;
|
|
304
317
|
};
|
|
305
|
-
|
|
318
|
+
assertWrap: {
|
|
306
319
|
instanceOf: <const Instance>(instance: unknown, constructor: import("type-fest").Constructor<Instance>, failureMessage?: string | undefined) => Instance;
|
|
307
320
|
notInstanceOf: <const Actual, const Instance>(instance: Actual, constructor: import("type-fest").Constructor<Instance>, failureMessage?: string | undefined) => Exclude<Actual, Instance>;
|
|
308
321
|
};
|
|
309
|
-
|
|
322
|
+
checkWrap: {
|
|
310
323
|
instanceOf: <const Instance>(instance: unknown, constructor: import("type-fest").Constructor<Instance>) => Instance | undefined;
|
|
311
324
|
notInstanceOf: <const Actual, const Instance>(instance: Actual, constructor: import("type-fest").Constructor<Instance>) => Exclude<Actual, Instance> | undefined;
|
|
312
325
|
};
|
|
313
|
-
|
|
326
|
+
waitUntil: {
|
|
314
327
|
instanceOf: <const Instance>(constructor: import("type-fest").Constructor<Instance>, callback: () => import("@augment-vir/core").MaybePromise<unknown>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Instance>;
|
|
315
328
|
notInstanceOf: <const Actual, const Instance>(constructor: import("type-fest").Constructor<Instance>, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, Instance>>;
|
|
316
329
|
};
|
|
317
330
|
}, {
|
|
318
|
-
|
|
331
|
+
assert: {
|
|
319
332
|
jsonEquals: <const Actual, const Expected extends Actual>(actual: Actual, expected: Expected, failureMessage?: string | undefined) => asserts actual is Expected;
|
|
320
333
|
notJsonEquals: (actual: unknown, expected: unknown, failureMessage?: string | undefined) => void;
|
|
321
334
|
};
|
|
322
|
-
|
|
335
|
+
check: {
|
|
323
336
|
jsonEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => actual is Expected;
|
|
337
|
+
notJsonEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
324
338
|
};
|
|
325
|
-
|
|
339
|
+
assertWrap: {
|
|
326
340
|
jsonEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, Expected>;
|
|
341
|
+
notJsonEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
327
342
|
};
|
|
328
|
-
|
|
343
|
+
checkWrap: {
|
|
329
344
|
jsonEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => import("@augment-vir/core").NarrowToExpected<Actual, Expected> | undefined;
|
|
345
|
+
notJsonEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
330
346
|
};
|
|
331
|
-
|
|
347
|
+
waitUntil: {
|
|
332
348
|
jsonEquals: <Actual, Expected extends Actual>(expected: Expected, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Actual, Expected>>;
|
|
349
|
+
notJsonEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
333
350
|
};
|
|
334
351
|
}, {
|
|
335
|
-
|
|
352
|
+
assert: {
|
|
336
353
|
isKeyOf: <const Parent>(key: PropertyKey, parent: Parent, failureMessage?: string | undefined) => asserts key is keyof Parent;
|
|
337
354
|
isNotKeyOf: <const Key extends PropertyKey, const Parent>(key: Key, parent: Parent, failureMessage?: string | undefined) => asserts key is Exclude<Key, import("@augment-vir/core").RequiredKeysOf<Parent>>;
|
|
338
355
|
hasKey: <const Key extends PropertyKey, const Parent>(parent: Parent, key: Key, failureMessage?: string | undefined) => asserts parent is Parent & Record<Key, (Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never) extends never ? unknown : Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never>;
|
|
@@ -340,7 +357,7 @@ export declare const guardOverrides: [{
|
|
|
340
357
|
hasKeys: <const Keys extends PropertyKey, const Parent>(parent: Parent, keys: ReadonlyArray<Keys>, failureMessage?: string | undefined) => asserts parent is Parent & Record<Keys, (Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never) extends never ? unknown : Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never>;
|
|
341
358
|
lacksKeys: <const Parent, const Key extends PropertyKey>(parent: Parent, keys: ReadonlyArray<Key>, failureMessage?: string | undefined) => asserts parent is Exclude<Parent, Partial<Record<Key, any>>>;
|
|
342
359
|
};
|
|
343
|
-
|
|
360
|
+
check: {
|
|
344
361
|
isKeyOf: <const Parent>(key: PropertyKey, parent: Parent) => key is keyof Parent;
|
|
345
362
|
isNotKeyOf: <const Key extends PropertyKey, const Parent>(key: Key, parent: Parent, failureMessage?: string | undefined) => key is Exclude<Key, import("@augment-vir/core").RequiredKeysOf<Parent>>;
|
|
346
363
|
hasKey: <const Parent, const Key extends PropertyKey>(parent: Parent, key: Key) => parent is Parent & Record<Key, (Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never) extends never ? unknown : Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never>;
|
|
@@ -348,7 +365,7 @@ export declare const guardOverrides: [{
|
|
|
348
365
|
hasKeys: <const Keys extends PropertyKey, const Parent>(parent: Parent, keys: ReadonlyArray<Keys>) => parent is Parent & Record<Keys, (Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never) extends never ? unknown : Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never>;
|
|
349
366
|
lacksKeys: <const Parent, const Key extends PropertyKey>(parent: Parent, key: ReadonlyArray<Key>) => parent is Exclude<Parent, Partial<Record<Key, any>>>;
|
|
350
367
|
};
|
|
351
|
-
|
|
368
|
+
assertWrap: {
|
|
352
369
|
isKeyOf: <const Key extends PropertyKey, const Parent>(key: Key, parent: Parent, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Key, keyof Parent>;
|
|
353
370
|
isNotKeyOf: <const Key extends PropertyKey, const Parent>(key: Key, parent: Parent, failureMessage?: string | undefined) => Exclude<Key, import("@augment-vir/core").RequiredKeysOf<Parent>>;
|
|
354
371
|
hasKey: <const Parent, const Key extends PropertyKey>(parent: Parent, key: Key, failureMessage?: string | undefined) => Parent & Record<Key, (Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never) extends never ? unknown : Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never>;
|
|
@@ -356,7 +373,7 @@ export declare const guardOverrides: [{
|
|
|
356
373
|
hasKeys: <const Keys extends PropertyKey, const Parent>(parent: Parent, keys: ReadonlyArray<Keys>, failureMessage?: string | undefined) => Parent & Record<Keys, (Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never) extends never ? unknown : Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never>;
|
|
357
374
|
lacksKeys: <const Parent, const Key extends PropertyKey>(parent: Parent, key: ReadonlyArray<Key>, failureMessage?: string | undefined) => Exclude<Parent, Partial<Record<Key, any>>>;
|
|
358
375
|
};
|
|
359
|
-
|
|
376
|
+
checkWrap: {
|
|
360
377
|
isKeyOf: <const Key extends PropertyKey, const Parent>(key: Key, parent: Parent) => import("@augment-vir/core").NarrowToExpected<Key, keyof Parent> | undefined;
|
|
361
378
|
isNotKeyOf: <const Key extends PropertyKey, const Parent>(key: Key, parent: Parent, failureMessage?: string | undefined) => Exclude<Key, import("@augment-vir/core").RequiredKeysOf<Parent>> | undefined;
|
|
362
379
|
hasKey: <const Parent, const Key extends PropertyKey>(parent: Parent, key: Key) => (Parent & Record<Key, (Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never) extends never ? unknown : Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never>) | undefined;
|
|
@@ -364,7 +381,7 @@ export declare const guardOverrides: [{
|
|
|
364
381
|
hasKeys: <const Keys extends PropertyKey, const Parent>(parent: Parent, keys: ReadonlyArray<Keys>) => (Parent & Record<Keys, (Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never) extends never ? unknown : Keys extends keyof Parent ? import("type-fest").SetRequired<Parent, Keys>[Keys] : Keys extends keyof Extract<Parent, Record<Keys, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Keys, any>>, Keys>[Keys] : never>) | undefined;
|
|
365
382
|
lacksKeys: <const Parent, const Key extends PropertyKey>(parent: Parent, key: ReadonlyArray<Key>) => Exclude<Parent, Partial<Record<Key, any>>> | undefined;
|
|
366
383
|
};
|
|
367
|
-
|
|
384
|
+
waitUntil: {
|
|
368
385
|
isKeyOf: <const Key extends PropertyKey, const Parent>(parent: Parent, callback: () => import("@augment-vir/core").MaybePromise<Key>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Key, keyof Parent>>;
|
|
369
386
|
isNotKeyOf: <const Key extends PropertyKey, const Parent>(parent: Parent, callback: () => import("@augment-vir/core").MaybePromise<Key>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Key, import("@augment-vir/core").RequiredKeysOf<Parent>>>;
|
|
370
387
|
hasKey: <const Parent, const Key extends PropertyKey>(key: Key, callback: () => import("@augment-vir/core").MaybePromise<Parent>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Parent & Record<Key, (Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never) extends never ? unknown : Key extends keyof Parent ? import("type-fest").SetRequired<Parent, Key>[Key] : Key extends keyof Extract<Parent, Record<Key, any>> ? import("type-fest").SetRequired<Extract<Parent, Record<Key, any>>, Key>[Key] : never>>;
|
|
@@ -373,7 +390,7 @@ export declare const guardOverrides: [{
|
|
|
373
390
|
lacksKeys: <const Parent, const Keys extends PropertyKey>(keys: ReadonlyArray<Keys>, callback: () => import("@augment-vir/core").MaybePromise<Parent>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Parent, Partial<Record<Keys, any>>>>;
|
|
374
391
|
};
|
|
375
392
|
}, {
|
|
376
|
-
|
|
393
|
+
assert: {
|
|
377
394
|
isLengthAtLeast: {
|
|
378
395
|
<const Element, const Length extends number>(actual: ReadonlyArray<Element | undefined>, length: Length, failureMessage?: string | undefined): asserts actual is import("@augment-vir/core").AtLeastTuple<Element, Length>;
|
|
379
396
|
(actual: string | import("@augment-vir/core").AnyObject, length: number, failureMessage?: string | undefined): void;
|
|
@@ -383,7 +400,7 @@ export declare const guardOverrides: [{
|
|
|
383
400
|
(actual: string | import("@augment-vir/core").AnyObject, length: number, failureMessage?: string | undefined): void;
|
|
384
401
|
};
|
|
385
402
|
};
|
|
386
|
-
|
|
403
|
+
check: {
|
|
387
404
|
isLengthAtLeast: {
|
|
388
405
|
<Element, Length extends number>(actual: ReadonlyArray<Element | undefined>, length: Length): actual is import("@augment-vir/core").AtLeastTuple<Element, Length>;
|
|
389
406
|
(actual: string | import("@augment-vir/core").AnyObject, length: number): boolean;
|
|
@@ -393,7 +410,7 @@ export declare const guardOverrides: [{
|
|
|
393
410
|
(actual: string | import("@augment-vir/core").AnyObject, length: number): boolean;
|
|
394
411
|
};
|
|
395
412
|
};
|
|
396
|
-
|
|
413
|
+
assertWrap: {
|
|
397
414
|
isLengthAtLeast: {
|
|
398
415
|
<Element, Length extends number>(actual: ReadonlyArray<Element | undefined>, length: Length): import("@augment-vir/core").AtLeastTuple<Element, Length>;
|
|
399
416
|
<Actual extends string | import("@augment-vir/core").AnyObject>(actual: Actual, length: number): Actual;
|
|
@@ -403,7 +420,7 @@ export declare const guardOverrides: [{
|
|
|
403
420
|
<Actual extends string | import("@augment-vir/core").AnyObject>(actual: Actual, length: number): Actual;
|
|
404
421
|
};
|
|
405
422
|
};
|
|
406
|
-
|
|
423
|
+
checkWrap: {
|
|
407
424
|
isLengthAtLeast: {
|
|
408
425
|
<Element, Length extends number>(actual: ReadonlyArray<Element | undefined>, length: Length): import("@augment-vir/core").AtLeastTuple<Element, Length> | undefined;
|
|
409
426
|
<Actual extends string | import("@augment-vir/core").AnyObject>(actual: Actual, length: number): Actual | undefined;
|
|
@@ -413,7 +430,7 @@ export declare const guardOverrides: [{
|
|
|
413
430
|
<Actual extends string | import("@augment-vir/core").AnyObject>(actual: Actual, length: number): Actual | undefined;
|
|
414
431
|
};
|
|
415
432
|
};
|
|
416
|
-
|
|
433
|
+
waitUntil: {
|
|
417
434
|
isLengthAtLeast: {
|
|
418
435
|
<Element, Length extends number>(length: Length, callback: () => import("@augment-vir/core").MaybePromise<ReadonlyArray<Element | undefined>>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined): Promise<import("@augment-vir/core").AtLeastTuple<Element, Length>>;
|
|
419
436
|
<Actual extends string | import("@augment-vir/core").AnyObject>(length: number, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined): Promise<Actual>;
|
|
@@ -424,25 +441,28 @@ export declare const guardOverrides: [{
|
|
|
424
441
|
};
|
|
425
442
|
};
|
|
426
443
|
}, {
|
|
427
|
-
|
|
444
|
+
assert: {
|
|
428
445
|
isDefined: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is Exclude<Actual, undefined | null>;
|
|
429
446
|
isNullish: (input: unknown, failureMessage?: string | undefined) => asserts input is null | undefined;
|
|
430
447
|
};
|
|
431
|
-
|
|
448
|
+
check: {
|
|
432
449
|
isDefined: <Actual>(input: Actual) => input is Exclude<Actual, undefined | null>;
|
|
450
|
+
isNullish: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
433
451
|
};
|
|
434
|
-
|
|
452
|
+
assertWrap: {
|
|
435
453
|
isDefined: <Actual>(input: Actual, failureMessage?: string | undefined) => Exclude<Actual, undefined | null>;
|
|
454
|
+
isNullish: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
436
455
|
};
|
|
437
|
-
|
|
456
|
+
checkWrap: {
|
|
438
457
|
isDefined: undefined;
|
|
439
458
|
isNullish: undefined;
|
|
440
459
|
};
|
|
441
|
-
|
|
460
|
+
waitUntil: {
|
|
442
461
|
isDefined: <Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, undefined | null>>;
|
|
462
|
+
isNullish: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
443
463
|
};
|
|
444
464
|
}, {
|
|
445
|
-
|
|
465
|
+
assert: {
|
|
446
466
|
isAbove: (actual: number, expected: number, failureMessage?: string | undefined) => void;
|
|
447
467
|
isAtLeast: (actual: number, expected: number, failureMessage?: string | undefined) => void;
|
|
448
468
|
isBelow: (actual: number, expected: number, failureMessage?: string | undefined) => void;
|
|
@@ -453,63 +473,135 @@ export declare const guardOverrides: [{
|
|
|
453
473
|
isApproximately: (actual: number, expected: number, delta: number, failureMessage?: string | undefined) => void;
|
|
454
474
|
isNotApproximately: (actual: number, expected: number, delta: number, failureMessage?: string | undefined) => void;
|
|
455
475
|
};
|
|
476
|
+
check: {
|
|
477
|
+
isAbove: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
478
|
+
isAtLeast: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
479
|
+
isBelow: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
480
|
+
isAtMost: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
481
|
+
isNaN: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
482
|
+
isFinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
483
|
+
isInfinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
484
|
+
isApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
485
|
+
isNotApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
486
|
+
};
|
|
487
|
+
assertWrap: {
|
|
488
|
+
isAbove: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
489
|
+
isAtLeast: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
490
|
+
isBelow: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
491
|
+
isAtMost: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
492
|
+
isNaN: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
493
|
+
isFinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
494
|
+
isInfinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
495
|
+
isApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
496
|
+
isNotApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
497
|
+
};
|
|
498
|
+
checkWrap: {
|
|
499
|
+
isAbove: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
500
|
+
isAtLeast: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
501
|
+
isBelow: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
502
|
+
isAtMost: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
503
|
+
isNaN: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
504
|
+
isFinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
505
|
+
isInfinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
506
|
+
isApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
507
|
+
isNotApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
508
|
+
};
|
|
509
|
+
waitUntil: {
|
|
510
|
+
isAbove: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
511
|
+
isAtLeast: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
512
|
+
isBelow: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
513
|
+
isAtMost: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
514
|
+
isNaN: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
515
|
+
isFinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
516
|
+
isInfinite: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
517
|
+
isApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
518
|
+
isNotApproximately: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
519
|
+
};
|
|
456
520
|
}, {
|
|
457
|
-
|
|
521
|
+
assert: {
|
|
458
522
|
isPropertyKey: (input: unknown, failureMessage?: string | undefined) => asserts input is PropertyKey;
|
|
459
523
|
isNotPropertyKey: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is Exclude<Actual, PropertyKey>;
|
|
460
524
|
isPrimitive: (input: unknown, failureMessage?: string | undefined) => asserts input is import("type-fest").Primitive;
|
|
461
525
|
isNotPrimitive: <const Actual>(input: Actual, failureMessage?: string | undefined) => asserts input is Exclude<Actual, import("type-fest").Primitive>;
|
|
462
526
|
};
|
|
463
|
-
|
|
527
|
+
check: {
|
|
464
528
|
isNotPrimitive: <const Actual>(input: Actual) => input is Exclude<Actual, import("type-fest").Primitive>;
|
|
465
529
|
isNotPropertyKey: <const Actual>(input: Actual) => input is Exclude<Actual, PropertyKey>;
|
|
530
|
+
isPrimitive: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
531
|
+
isPropertyKey: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
466
532
|
};
|
|
467
|
-
|
|
533
|
+
assertWrap: {
|
|
468
534
|
isNotPrimitive: <const Actual>(input: Actual, failureMessage?: string | undefined) => Exclude<Actual, import("type-fest").Primitive>;
|
|
469
535
|
isNotPropertyKey: <const Actual>(input: Actual, failureMessage?: string | undefined) => Exclude<Actual, PropertyKey>;
|
|
536
|
+
isPrimitive: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
537
|
+
isPropertyKey: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
470
538
|
};
|
|
471
|
-
|
|
539
|
+
checkWrap: {
|
|
472
540
|
isNotPrimitive: <const Actual>(input: Actual) => Exclude<Actual, import("type-fest").Primitive> | undefined;
|
|
473
541
|
isNotPropertyKey: <const Actual>(input: Actual) => Exclude<Actual, PropertyKey> | undefined;
|
|
542
|
+
isPrimitive: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
543
|
+
isPropertyKey: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
474
544
|
};
|
|
475
|
-
|
|
545
|
+
waitUntil: {
|
|
476
546
|
isNotPrimitive: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, import("type-fest").Primitive>>;
|
|
477
547
|
isNotPropertyKey: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, PropertyKey>>;
|
|
548
|
+
isPrimitive: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
549
|
+
isPropertyKey: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
478
550
|
};
|
|
479
551
|
}, {
|
|
480
|
-
|
|
552
|
+
assert: {
|
|
481
553
|
isPromiseLike: (actual: unknown, failureMessage?: string | undefined) => asserts actual is PromiseLike<any>;
|
|
482
554
|
isNotPromiseLike: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, PromiseLike<any>>;
|
|
483
555
|
isPromise: (actual: unknown, failureMessage?: string | undefined) => asserts actual is Promise<any>;
|
|
484
556
|
isNotPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, Promise<any>>;
|
|
485
557
|
};
|
|
486
|
-
|
|
487
|
-
|
|
558
|
+
check: {
|
|
559
|
+
isPromiseLike: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
488
560
|
isNotPromiseLike: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, PromiseLike<any>>;
|
|
561
|
+
isPromise: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
562
|
+
isNotPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, Promise<any>>;
|
|
489
563
|
};
|
|
490
|
-
|
|
491
|
-
isPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Extract<Actual, Promise<any>>;
|
|
492
|
-
isNotPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, Promise<any>>;
|
|
564
|
+
assertWrap: {
|
|
493
565
|
isPromiseLike: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Extract<Actual, PromiseLike<any>>;
|
|
494
566
|
isNotPromiseLike: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, PromiseLike<any>>;
|
|
567
|
+
isPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Extract<Actual, Promise<any>>;
|
|
568
|
+
isNotPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, Promise<any>>;
|
|
495
569
|
};
|
|
496
|
-
|
|
570
|
+
checkWrap: {
|
|
497
571
|
isNotPromise: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, Promise<any>> | undefined;
|
|
498
572
|
isNotPromiseLike: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, PromiseLike<any>> | undefined;
|
|
573
|
+
isPromise: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
574
|
+
isPromiseLike: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
499
575
|
};
|
|
500
|
-
|
|
501
|
-
isPromise: <const Actual>(callback: () => Actual, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Extract<Actual, Promise<any>>>;
|
|
502
|
-
isNotPromise: <const Actual>(callback: () => Actual, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, Promise<any>>>;
|
|
576
|
+
waitUntil: {
|
|
503
577
|
isPromiseLike: <const Actual>(callback: () => Actual, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Extract<Actual, PromiseLike<any>>>;
|
|
504
578
|
isNotPromiseLike: <const Actual>(callback: () => Actual, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, PromiseLike<any>>>;
|
|
579
|
+
isPromise: <const Actual>(callback: () => Actual, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Extract<Actual, Promise<any>>>;
|
|
580
|
+
isNotPromise: <const Actual>(callback: () => Actual, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, Promise<any>>>;
|
|
505
581
|
};
|
|
506
582
|
}, {
|
|
507
|
-
|
|
583
|
+
assert: {
|
|
508
584
|
matches: (actual: string, expected: RegExp, failureMessage?: string | undefined) => void;
|
|
509
585
|
mismatches: (actual: string, expected: RegExp, failureMessage?: string | undefined) => void;
|
|
510
586
|
};
|
|
587
|
+
check: {
|
|
588
|
+
matches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
589
|
+
mismatches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
590
|
+
};
|
|
591
|
+
assertWrap: {
|
|
592
|
+
matches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
593
|
+
mismatches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
594
|
+
};
|
|
595
|
+
checkWrap: {
|
|
596
|
+
matches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
597
|
+
mismatches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
598
|
+
};
|
|
599
|
+
waitUntil: {
|
|
600
|
+
matches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
601
|
+
mismatches: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
602
|
+
};
|
|
511
603
|
}, {
|
|
512
|
-
|
|
604
|
+
assert: {
|
|
513
605
|
isArray: (actual: unknown, failureMessage?: string | undefined) => asserts actual is unknown[];
|
|
514
606
|
isBigInt: (actual: unknown, failureMessage?: string | undefined) => asserts actual is bigint;
|
|
515
607
|
isBoolean: (actual: unknown, failureMessage?: string | undefined) => asserts actual is boolean;
|
|
@@ -524,15 +616,24 @@ export declare const guardOverrides: [{
|
|
|
524
616
|
isNotBigInt: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, bigint>;
|
|
525
617
|
isNotBoolean: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, boolean>;
|
|
526
618
|
isNotFunction: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("@augment-vir/core").AnyFunction>;
|
|
619
|
+
isNotNull: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, null>;
|
|
527
620
|
isNotNumber: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, number>;
|
|
528
621
|
isNotObject: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("@augment-vir/core").UnknownObject>;
|
|
529
622
|
isNotString: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, string>;
|
|
530
623
|
isNotSymbol: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, symbol>;
|
|
531
624
|
isNotUndefined: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, undefined>;
|
|
532
|
-
isNotNull: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, null>;
|
|
533
625
|
};
|
|
534
|
-
|
|
626
|
+
check: {
|
|
627
|
+
isArray: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
628
|
+
isBigInt: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
629
|
+
isBoolean: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
535
630
|
isFunction: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is import("@augment-vir/core").NarrowToActual<Actual, import("@augment-vir/core").AnyFunction>;
|
|
631
|
+
isNull: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
632
|
+
isNumber: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
633
|
+
isObject: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
634
|
+
isString: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
635
|
+
isSymbol: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
636
|
+
isUndefined: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
536
637
|
isNotArray: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, ReadonlyArray<unknown>>;
|
|
537
638
|
isNotBigInt: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, bigint>;
|
|
538
639
|
isNotBoolean: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, boolean>;
|
|
@@ -541,12 +642,20 @@ export declare const guardOverrides: [{
|
|
|
541
642
|
isNotNumber: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, number>;
|
|
542
643
|
isNotObject: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, import("@augment-vir/core").UnknownObject>;
|
|
543
644
|
isNotString: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, string>;
|
|
544
|
-
isNotUndefined: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, undefined>;
|
|
545
645
|
isNotSymbol: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, symbol>;
|
|
646
|
+
isNotUndefined: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, undefined>;
|
|
546
647
|
};
|
|
547
|
-
|
|
648
|
+
assertWrap: {
|
|
649
|
+
isArray: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
650
|
+
isBigInt: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
651
|
+
isBoolean: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
548
652
|
isFunction: <const Actual>(actual: Actual, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToActual<Actual, import("@augment-vir/core").AnyFunction>;
|
|
653
|
+
isNull: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
654
|
+
isNumber: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
655
|
+
isObject: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
656
|
+
isString: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
549
657
|
isSymbol: <const Actual>(actual: Actual, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, symbol>;
|
|
658
|
+
isUndefined: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
550
659
|
isNotArray: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, ReadonlyArray<unknown>>;
|
|
551
660
|
isNotBigInt: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, bigint>;
|
|
552
661
|
isNotBoolean: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, boolean>;
|
|
@@ -555,13 +664,20 @@ export declare const guardOverrides: [{
|
|
|
555
664
|
isNotNumber: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, number>;
|
|
556
665
|
isNotObject: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, import("@augment-vir/core").UnknownObject>;
|
|
557
666
|
isNotString: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, string>;
|
|
558
|
-
isNotUndefined: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, undefined>;
|
|
559
667
|
isNotSymbol: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, symbol>;
|
|
668
|
+
isNotUndefined: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, undefined>;
|
|
560
669
|
};
|
|
561
|
-
|
|
670
|
+
checkWrap: {
|
|
671
|
+
isArray: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
672
|
+
isBigInt: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
673
|
+
isBoolean: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
562
674
|
isFunction: <const Actual>(actual: Actual) => import("@augment-vir/core").NarrowToActual<Actual, import("@augment-vir/core").AnyFunction> | undefined;
|
|
675
|
+
isNull: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
676
|
+
isNumber: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
677
|
+
isObject: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
678
|
+
isString: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
679
|
+
isSymbol: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
563
680
|
isUndefined: undefined;
|
|
564
|
-
isNotUndefined: undefined;
|
|
565
681
|
isNotArray: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, ReadonlyArray<unknown>> | undefined;
|
|
566
682
|
isNotBigInt: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, bigint> | undefined;
|
|
567
683
|
isNotBoolean: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, boolean> | undefined;
|
|
@@ -571,9 +687,19 @@ export declare const guardOverrides: [{
|
|
|
571
687
|
isNotObject: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, import("@augment-vir/core").UnknownObject> | undefined;
|
|
572
688
|
isNotString: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, string> | undefined;
|
|
573
689
|
isNotSymbol: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, symbol> | undefined;
|
|
690
|
+
isNotUndefined: undefined;
|
|
574
691
|
};
|
|
575
|
-
|
|
692
|
+
waitUntil: {
|
|
693
|
+
isArray: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
694
|
+
isBigInt: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
695
|
+
isBoolean: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
576
696
|
isFunction: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToActual<Actual, import("@augment-vir/core").AnyFunction>>;
|
|
697
|
+
isNull: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
698
|
+
isNumber: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
699
|
+
isObject: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
700
|
+
isString: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
701
|
+
isSymbol: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
702
|
+
isUndefined: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
577
703
|
isNotArray: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, ReadonlyArray<unknown>>>;
|
|
578
704
|
isNotBigInt: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, bigint>>;
|
|
579
705
|
isNotBoolean: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, boolean>>;
|
|
@@ -582,11 +708,11 @@ export declare const guardOverrides: [{
|
|
|
582
708
|
isNotNumber: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, number>>;
|
|
583
709
|
isNotObject: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, import("@augment-vir/core").UnknownObject>>;
|
|
584
710
|
isNotString: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, string>>;
|
|
585
|
-
isNotUndefined: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, undefined>>;
|
|
586
711
|
isNotSymbol: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, symbol>>;
|
|
712
|
+
isNotUndefined: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, undefined>>;
|
|
587
713
|
};
|
|
588
714
|
}, {
|
|
589
|
-
|
|
715
|
+
assert: {
|
|
590
716
|
strictEquals: typeof import("./equality/simple-equality.js").strictEquals;
|
|
591
717
|
notStrictEquals: (actual: unknown, expected: unknown, failureMessage?: string | undefined) => void;
|
|
592
718
|
looseEquals: (actual: unknown, expected: unknown, failureMessage?: string | undefined) => void;
|
|
@@ -594,81 +720,105 @@ export declare const guardOverrides: [{
|
|
|
594
720
|
deepEquals: typeof import("./equality/simple-equality.js").deepEquals;
|
|
595
721
|
notDeepEquals: (actual: unknown, expected: unknown, failureMessage?: string | undefined) => void;
|
|
596
722
|
};
|
|
597
|
-
|
|
723
|
+
check: {
|
|
598
724
|
strictEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => actual is Expected;
|
|
725
|
+
notStrictEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
726
|
+
looseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
727
|
+
notLooseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
599
728
|
deepEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => actual is Expected;
|
|
729
|
+
notDeepEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
600
730
|
};
|
|
601
|
-
|
|
731
|
+
assertWrap: {
|
|
602
732
|
strictEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, Expected>;
|
|
733
|
+
notStrictEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
734
|
+
looseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
735
|
+
notLooseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
603
736
|
deepEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, Expected>;
|
|
737
|
+
notDeepEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
604
738
|
};
|
|
605
|
-
|
|
739
|
+
checkWrap: {
|
|
606
740
|
strictEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => Expected | undefined;
|
|
741
|
+
notStrictEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
742
|
+
looseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
743
|
+
notLooseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
607
744
|
deepEquals: <Actual, Expected extends Actual>(actual: Actual, expected: Expected) => import("@augment-vir/core").NarrowToExpected<Actual, Expected> | undefined;
|
|
745
|
+
notDeepEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
608
746
|
};
|
|
609
|
-
|
|
747
|
+
waitUntil: {
|
|
610
748
|
strictEquals: <Actual, Expected extends Actual>(expected: Expected, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Actual, Expected>>;
|
|
749
|
+
notStrictEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
750
|
+
looseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
751
|
+
notLooseEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
611
752
|
deepEquals: <Actual, Expected extends Actual>(expected: Expected, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Actual, Expected>>;
|
|
753
|
+
notDeepEquals: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
612
754
|
};
|
|
613
755
|
}, {
|
|
614
|
-
|
|
615
|
-
isError: (actual: unknown, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined) => asserts actual is Error;
|
|
756
|
+
assert: {
|
|
616
757
|
throws: {
|
|
617
758
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, never>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): void;
|
|
618
759
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, Promise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Promise<void>;
|
|
619
760
|
(callback: import("@augment-vir/core").TypedFunction<void, any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): void;
|
|
620
761
|
(callback: import("@augment-vir/core").TypedFunction<void, import("@augment-vir/core").MaybePromise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): import("@augment-vir/core").MaybePromise<void>;
|
|
621
762
|
};
|
|
763
|
+
isError: (actual: unknown, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined) => asserts actual is Error;
|
|
622
764
|
};
|
|
623
|
-
|
|
765
|
+
check: {
|
|
624
766
|
throws: {
|
|
625
767
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, never>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined): boolean;
|
|
626
768
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, Promise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined): Promise<boolean>;
|
|
627
769
|
(callback: import("@augment-vir/core").TypedFunction<void, any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined): boolean;
|
|
628
770
|
(callback: import("@augment-vir/core").TypedFunction<void, import("@augment-vir/core").MaybePromise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined): import("@augment-vir/core").MaybePromise<boolean>;
|
|
629
771
|
};
|
|
772
|
+
isError: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
630
773
|
};
|
|
631
|
-
|
|
774
|
+
assertWrap: {
|
|
632
775
|
throws: {
|
|
633
776
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, never>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Error;
|
|
634
777
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, Promise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Promise<Error>;
|
|
635
778
|
(callback: import("@augment-vir/core").TypedFunction<void, any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Error;
|
|
636
779
|
(callback: import("@augment-vir/core").TypedFunction<void, import("@augment-vir/core").MaybePromise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): import("@augment-vir/core").MaybePromise<Error>;
|
|
637
780
|
};
|
|
781
|
+
isError: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
638
782
|
};
|
|
639
|
-
|
|
783
|
+
checkWrap: {
|
|
640
784
|
throws: {
|
|
641
785
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, never>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Error | undefined;
|
|
642
786
|
(callbackOrPromise: import("@augment-vir/core").TypedFunction<void, Promise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Promise<Error | undefined>;
|
|
643
787
|
(callback: import("@augment-vir/core").TypedFunction<void, any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): Error | undefined;
|
|
644
788
|
(callback: import("@augment-vir/core").TypedFunction<void, import("@augment-vir/core").MaybePromise<any>> | Promise<any>, matchOptions?: import("./throws.js").ErrorMatchOptions | undefined, failureMessage?: string | undefined): import("@augment-vir/core").MaybePromise<Error | undefined>;
|
|
645
789
|
};
|
|
790
|
+
isError: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
646
791
|
};
|
|
647
|
-
|
|
792
|
+
waitUntil: {
|
|
648
793
|
throws: {
|
|
649
|
-
(
|
|
650
|
-
(matchOptions: import("./throws.js").ErrorMatchOptions,
|
|
794
|
+
(callback: import("@augment-vir/core").TypedFunction<void, any>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined): Promise<Error>;
|
|
795
|
+
(matchOptions: import("./throws.js").ErrorMatchOptions, callback: import("@augment-vir/core").TypedFunction<void, any>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined): Promise<Error>;
|
|
651
796
|
};
|
|
797
|
+
isError: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
652
798
|
};
|
|
653
799
|
}, {
|
|
654
|
-
|
|
800
|
+
assert: {
|
|
655
801
|
isUuid: (actual: unknown, failureMessage?: string | undefined) => asserts actual is import("@augment-vir/core").Uuid;
|
|
656
802
|
isNotUuid: <const Actual>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("@augment-vir/core").Uuid>;
|
|
657
803
|
};
|
|
658
|
-
|
|
804
|
+
check: {
|
|
805
|
+
isUuid: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
659
806
|
isNotUuid: <const Actual>(actual: Actual, failureMessage?: string | undefined) => actual is Exclude<Actual, import("@augment-vir/core").Uuid>;
|
|
660
807
|
};
|
|
661
|
-
|
|
808
|
+
assertWrap: {
|
|
809
|
+
isUuid: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
662
810
|
isNotUuid: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, import("@augment-vir/core").Uuid>;
|
|
663
811
|
};
|
|
664
|
-
|
|
812
|
+
checkWrap: {
|
|
813
|
+
isUuid: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
665
814
|
isNotUuid: <const Actual>(actual: Actual, failureMessage?: string | undefined) => Exclude<Actual, import("@augment-vir/core").Uuid> | undefined;
|
|
666
815
|
};
|
|
667
|
-
|
|
816
|
+
waitUntil: {
|
|
817
|
+
isUuid: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
668
818
|
isNotUuid: <const Actual>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, import("@augment-vir/core").Uuid>>;
|
|
669
819
|
};
|
|
670
820
|
}, {
|
|
671
|
-
|
|
821
|
+
assert: {
|
|
672
822
|
hasValue: (parent: object, value: unknown, failureMessage?: string | undefined) => void;
|
|
673
823
|
lacksValue: (parent: object, value: unknown, failureMessage?: string | undefined) => void;
|
|
674
824
|
hasValues: (parent: object, values: ReadonlyArray<unknown>, failureMessage?: string | undefined) => void;
|
|
@@ -678,85 +828,103 @@ export declare const guardOverrides: [{
|
|
|
678
828
|
isEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual, failureMessage?: string | undefined) => asserts actual is import("@augment-vir/core").NarrowToActual<Actual, import("./values.js").Empty>;
|
|
679
829
|
isNotEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual, failureMessage?: string | undefined) => asserts actual is Exclude<Actual, import("./values.js").Empty>;
|
|
680
830
|
};
|
|
681
|
-
|
|
831
|
+
check: {
|
|
832
|
+
hasValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
833
|
+
lacksValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
834
|
+
hasValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
835
|
+
lacksValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
682
836
|
isIn: <const Parent>(child: unknown, parent: Parent) => child is import("@augment-vir/core").Values<Parent>;
|
|
683
837
|
isNotIn: <const Parent, const Child>(child: Child, parent: Parent, failureMessage?: string | undefined) => child is Exclude<Child, import("@augment-vir/core").Values<Parent>>;
|
|
684
838
|
isEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual) => actual is import("@augment-vir/core").NarrowToActual<Actual, import("./values.js").Empty>;
|
|
685
839
|
isNotEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual) => actual is Exclude<Actual, import("./values.js").Empty>;
|
|
686
840
|
};
|
|
687
|
-
|
|
841
|
+
assertWrap: {
|
|
842
|
+
hasValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
843
|
+
lacksValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
844
|
+
hasValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
845
|
+
lacksValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
688
846
|
isIn: <const Child, const Parent>(child: Child, parent: Parent, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Child, import("@augment-vir/core").Values<Parent>>;
|
|
689
847
|
isNotIn: <const Parent, const Child>(child: Child, parent: Parent, failureMessage?: string | undefined) => Exclude<Child, import("@augment-vir/core").Values<Parent>>;
|
|
690
848
|
isEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToActual<Actual, import("./values.js").Empty>;
|
|
691
849
|
isNotEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual) => Exclude<Actual, import("./values.js").Empty>;
|
|
692
850
|
};
|
|
693
|
-
|
|
851
|
+
checkWrap: {
|
|
852
|
+
hasValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
853
|
+
lacksValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
854
|
+
hasValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
855
|
+
lacksValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
694
856
|
isIn: <const Child, const Parent>(child: Child, parent: Parent) => import("@augment-vir/core").NarrowToExpected<Child, import("@augment-vir/core").Values<Parent>> | undefined;
|
|
695
857
|
isNotIn: <const Parent, const Child>(child: Child, parent: Parent, failureMessage?: string | undefined) => Exclude<Child, import("@augment-vir/core").Values<Parent>> | undefined;
|
|
696
858
|
isEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual) => import("@augment-vir/core").NarrowToActual<Actual, import("./values.js").Empty> | undefined;
|
|
697
859
|
isNotEmpty: <const Actual extends import("./values.js").CanBeEmpty>(actual: Actual) => Exclude<Actual, import("./values.js").Empty> | undefined;
|
|
698
860
|
};
|
|
699
|
-
|
|
861
|
+
waitUntil: {
|
|
862
|
+
hasValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
863
|
+
lacksValue: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
864
|
+
hasValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
865
|
+
lacksValues: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
700
866
|
isIn: <const Child, const Parent>(parent: Parent, callback: () => import("@augment-vir/core").MaybePromise<Child>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Child, import("@augment-vir/core").Values<Parent>>>;
|
|
701
867
|
isNotIn: <const Child, const Parent>(parent: Parent, callback: () => import("@augment-vir/core").MaybePromise<Child>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Child, import("@augment-vir/core").Values<Parent>>>;
|
|
702
868
|
isEmpty: <const Actual extends import("./values.js").CanBeEmpty>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToActual<Actual, import("./values.js").Empty>>;
|
|
703
869
|
isNotEmpty: <const Actual extends import("./values.js").CanBeEmpty>(callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<Exclude<Actual, import("./values.js").Empty>>;
|
|
704
870
|
};
|
|
705
871
|
}, {
|
|
706
|
-
|
|
872
|
+
assert: {
|
|
707
873
|
isHttpStatus: (actual: unknown, failureMessage?: string | undefined) => asserts actual is import("@augment-vir/core").HttpStatus;
|
|
708
874
|
isHttpStatusCategory: <const Actual, const Category extends import("@augment-vir/core").HttpStatusCategory>(actual: Actual, category: Category, failureMessage?: string | undefined) => asserts actual is import("@augment-vir/core").NarrowToExpected<Actual, import("@augment-vir/core").HttpStatusByCategory<Category>>;
|
|
709
875
|
};
|
|
710
|
-
|
|
876
|
+
check: {
|
|
877
|
+
isHttpStatus: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
711
878
|
isHttpStatusCategory: <const Actual, const Category extends import("@augment-vir/core").HttpStatusCategory>(actual: Actual, category: Category, failureMessage?: string | undefined) => actual is import("@augment-vir/core").NarrowToExpected<Actual, import("@augment-vir/core").HttpStatusByCategory<Category>>;
|
|
712
879
|
};
|
|
713
|
-
|
|
880
|
+
assertWrap: {
|
|
881
|
+
isHttpStatus: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
714
882
|
isHttpStatusCategory: <const Actual, const Category extends import("@augment-vir/core").HttpStatusCategory>(actual: Actual, category: Category, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, import("@augment-vir/core").HttpStatusByCategory<Category>>;
|
|
715
883
|
};
|
|
716
|
-
|
|
884
|
+
checkWrap: {
|
|
885
|
+
isHttpStatus: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
717
886
|
isHttpStatusCategory: <const Actual, const Category extends import("@augment-vir/core").HttpStatusCategory>(actual: Actual, category: Category, failureMessage?: string | undefined) => import("@augment-vir/core").NarrowToExpected<Actual, import("@augment-vir/core").HttpStatusByCategory<Category>> | undefined;
|
|
718
887
|
};
|
|
719
|
-
|
|
888
|
+
waitUntil: {
|
|
889
|
+
isHttpStatus: typeof import("../guard-types/guard-override.js").autoGuardSymbol;
|
|
720
890
|
isHttpStatusCategory: <const Actual, const Category extends import("@augment-vir/core").HttpStatusCategory>(category: Category, callback: () => import("@augment-vir/core").MaybePromise<Actual>, options?: import("../index.js").WaitUntilOptions | undefined, failureMessage?: string | undefined) => Promise<import("@augment-vir/core").NarrowToExpected<Actual, import("@augment-vir/core").HttpStatusByCategory<Category>>>;
|
|
721
891
|
};
|
|
722
892
|
}, {
|
|
723
|
-
|
|
893
|
+
assert: {
|
|
724
894
|
output: {
|
|
725
895
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<NoInfer<FunctionToCall>>> extends true ? void : Promise<void> : void;
|
|
726
896
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(asserter: import("./output.js").CustomOutputAsserter<NoInfer<FunctionToCall>>, functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<NoInfer<FunctionToCall>>> extends true ? void : Promise<void> : void;
|
|
727
897
|
};
|
|
728
898
|
};
|
|
729
|
-
|
|
899
|
+
check: {
|
|
730
900
|
output: {
|
|
731
901
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<FunctionToCall>> extends true ? boolean : Promise<boolean> : boolean;
|
|
732
902
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(asserter: import("./output.js").CustomOutputAsserter<NoInfer<FunctionToCall>>, functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<FunctionToCall>> extends true ? boolean : Promise<boolean> : boolean;
|
|
733
903
|
};
|
|
734
904
|
};
|
|
735
|
-
|
|
905
|
+
assertWrap: {
|
|
736
906
|
output: {
|
|
737
907
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<FunctionToCall>> extends true ? Awaited<ReturnType<NoInfer<FunctionToCall>>> : Promise<Awaited<ReturnType<NoInfer<FunctionToCall>>>> : Awaited<ReturnType<NoInfer<FunctionToCall>>>;
|
|
738
908
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(asserter: import("./output.js").CustomOutputAsserter<NoInfer<FunctionToCall>>, functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<FunctionToCall>> extends true ? Awaited<ReturnType<NoInfer<FunctionToCall>>> : Promise<Awaited<ReturnType<NoInfer<FunctionToCall>>>> : Awaited<ReturnType<NoInfer<FunctionToCall>>>;
|
|
739
909
|
};
|
|
740
910
|
};
|
|
741
|
-
|
|
911
|
+
checkWrap: {
|
|
742
912
|
output: {
|
|
743
913
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<FunctionToCall>> extends true ? Awaited<ReturnType<NoInfer<FunctionToCall>>> | undefined : Promise<Awaited<ReturnType<NoInfer<FunctionToCall>>> | undefined> : Awaited<ReturnType<NoInfer<FunctionToCall>>> | undefined;
|
|
744
914
|
<const FunctionToCall extends import("@augment-vir/core").AnyFunction>(asserter: import("./output.js").CustomOutputAsserter<NoInfer<FunctionToCall>>, functionToCall: FunctionToCall, inputs: Parameters<NoInfer<FunctionToCall>>, expectedOutput: Awaited<ReturnType<NoInfer<FunctionToCall>>>, failureMessage?: string | undefined): Promise<any> extends ReturnType<NoInfer<FunctionToCall>> ? import("type-fest").IsAny<ReturnType<FunctionToCall>> extends true ? Awaited<ReturnType<NoInfer<FunctionToCall>>> | undefined : Promise<Awaited<ReturnType<NoInfer<FunctionToCall>>> | undefined> : Awaited<ReturnType<NoInfer<FunctionToCall>>> | undefined;
|
|
745
915
|
};
|
|
746
916
|
};
|
|
747
|
-
|
|
917
|
+
waitUntil: {
|
|
748
918
|
output: typeof import("./output.js").waitUntilOutput;
|
|
749
919
|
};
|
|
750
920
|
}];
|
|
751
|
-
export declare const checkOverrides: UnionToIntersection<
|
|
752
|
-
checkOverrides: any;
|
|
753
|
-
}>['checkOverrides']>;
|
|
921
|
+
export declare const checkOverrides: UnionToIntersection<ArrayElement<typeof guardOverrides>['check']>;
|
|
754
922
|
export declare const assertWrapOverrides: UnionToIntersection<Extract<ArrayElement<typeof guardOverrides>, {
|
|
755
|
-
|
|
756
|
-
}>['
|
|
923
|
+
assertWrap: any;
|
|
924
|
+
}>['assertWrap']>;
|
|
757
925
|
export declare const checkWrapOverrides: UnionToIntersection<Extract<ArrayElement<typeof guardOverrides>, {
|
|
758
|
-
|
|
759
|
-
}>['
|
|
926
|
+
checkWrap: any;
|
|
927
|
+
}>['checkWrap']>;
|
|
760
928
|
export declare const waitUntilOverrides: UnionToIntersection<Extract<ArrayElement<typeof guardOverrides>, {
|
|
761
|
-
|
|
762
|
-
}>['
|
|
929
|
+
waitUntil: any;
|
|
930
|
+
}>['waitUntil']>;
|