fix(core): WeakRef typings to include deref (#10006)

This commit is contained in:
Nathan Walker
2022-08-25 16:34:47 -07:00
committed by GitHub
parent 64755cb348
commit 3bf164073b

View File

@ -354,6 +354,7 @@ declare class WeakRef<T> {
constructor(obj: T); constructor(obj: T);
get(): T; get(): T;
clear(): void; clear(): void;
deref(): T | undefined;
} }
/** /**