mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(core): WeakRef typings to include deref (#10006)
This commit is contained in:
1
packages/core/global-types.d.ts
vendored
1
packages/core/global-types.d.ts
vendored
@@ -354,6 +354,7 @@ declare class WeakRef<T> {
|
||||
constructor(obj: T);
|
||||
get(): T;
|
||||
clear(): void;
|
||||
deref(): T | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user