GeezerVison is showing github.com — typings: add diagnostics_channel typings · nodejs/node@b103a4a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: typings/globals.d.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -8,6 +8,7 @@ import { ConstantsBinding } from './internalBinding/constants'; |
8 | 8 | import { CredentialsBinding } from './internalBinding/credentials'; |
9 | 9 | import { CryptoBinding } from './internalBinding/crypto'; |
10 | 10 | import { DebugBinding } from './internalBinding/debug'; |
| 11 | +import { DiagnosticsChannelBinding } from './internalBinding/diagnostics_channel'; |
11 | 12 | import { EncodingBinding } from './internalBinding/encoding_binding'; |
12 | 13 | import { FsBinding } from './internalBinding/fs'; |
13 | 14 | import { FsDirBinding } from './internalBinding/fs_dir'; |
@@ -50,6 +51,7 @@ interface InternalBindingMap { |
50 | 51 | credentials: CredentialsBinding; |
51 | 52 | crypto: CryptoBinding; |
52 | 53 | debug: DebugBinding; |
| 54 | + diagnostics_channel: DiagnosticsChannelBinding; |
53 | 55 | encoding_binding: EncodingBinding; |
54 | 56 | fs: FsBinding; |
55 | 57 | fs_dir: FsDirBinding; |
|
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +export interface DiagnosticsChannelBinding { |
| 2 | + subscribers: Uint32Array; |
| 3 | + linkNativeChannel( |
| 4 | + callback: (name: string, index: number) => object | undefined, |
| 5 | + ): void; |
| 6 | +} |