From 7aaa4ea6ce4ef1974c074a4f3ddb0de22627048c Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Mon, 13 Jun 2022 13:58:24 +0700 Subject: [PATCH] Update types.ts --- source/types.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/types.ts b/source/types.ts index 0cf5f8e..d49b282 100644 --- a/source/types.ts +++ b/source/types.ts @@ -52,10 +52,5 @@ export type Falsy = false | 0 | 0n | '' | null | undefined; export interface WeakRef { // eslint-disable-line @typescript-eslint/ban-types readonly [Symbol.toStringTag]: 'WeakRef'; - - /** - * Returns the WeakRef instance's target object, or undefined if the target object has been - * reclaimed. - */ deref(): T | undefined; }