chore: remove test usages of createIDWeakMap (#24116)

This commit is contained in:
Jeremy Rose
2020-06-15 13:56:51 -07:00
committed by GitHub
parent 8412aae231
commit c0182bca15
4 changed files with 8 additions and 11 deletions

View File

@@ -38,7 +38,6 @@ declare namespace NodeJS {
setHiddenValue<T>(obj: any, key: string, value: T): void;
deleteHiddenValue(obj: any, key: string): void;
requestGarbageCollectionForTesting(): void;
createIDWeakMap<V>(): ElectronInternal.KeyWeakMap<number, V>;
createDoubleIDWeakMap<V>(): ElectronInternal.KeyWeakMap<[string, number], V>;
setRemoteCallbackFreer(fn: Function, frameId: number, contextId: String, id: number, sender: any): void
weaklyTrackValue(value: any): void;