SupportBot 7.3

This commit is contained in:
ItzEmerald committed 2021-10-04 13:54:30 +01:00
1 parent 19a12f6c8f
commit 09f0873f27
4762 files changed
+504608 -52

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { Predicate, PredicateOptions } from './predicate';
export declare class WeakMapPredicate<KeyType extends object = object> extends Predicate<WeakMap<KeyType, unknown>> {
/**
@hidden
*/
constructor(options?: PredicateOptions);
/**
Test a WeakMap to include all the provided keys. The keys are tested by identity, not structure.
@param keys - The keys that should be a key in the WeakMap.
*/
hasKeys(...keys: readonly KeyType[]): this;
/**
Test a WeakMap to include any of the provided keys. The keys are tested by identity, not structure.
@param keys - The keys that could be a key in the WeakMap.
*/
hasAnyKeys(...keys: readonly KeyType[]): this;
}