Files
2024-06-03 20:23:50 +05:30

8 lines
294 B
TypeScript

import type { MatcherFunction } from "expect";
declare class WeakRef<T extends WeakKey> {
constructor(target: T);
deref(): T | undefined;
}
export declare const toBeGarbageCollected: MatcherFunction<[weakRef: WeakRef<any>]>;
export {};
//# sourceMappingURL=toBeGarbageCollected.d.ts.map