chore: convert callbacks-registry to ts (#18682)

* chore: convert callbacks-registry to ts

* fix class import syntax

* move cb reg specs to spec-main
This commit is contained in:
Shelley Vohr
2019-06-15 01:18:25 -07:00
committed by Cheng Zhao
parent 441857c6e7
commit 3309005325
5 changed files with 17 additions and 20 deletions

View File

@@ -16,6 +16,7 @@ declare namespace NodeJS {
interface V8UtilBinding {
getHiddenValue<T>(obj: any, key: string): T;
setHiddenValue<T>(obj: any, key: string, value: T): void;
deleteHiddenValue(obj: any, key: string): void;
requestGarbageCollectionForTesting(): void;
}
interface Process {