Update types.ts
This commit is contained in:
parent
c27f2465c2
commit
7aaa4ea6ce
1 changed files with 0 additions and 5 deletions
|
|
@ -52,10 +52,5 @@ export type Falsy = false | 0 | 0n | '' | null | undefined;
|
|||
|
||||
export interface WeakRef<T extends object> { // 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue