diff options
Diffstat (limited to 'packages/bun-devtools/heap/jsc.d.ts')
-rw-r--r-- | packages/bun-devtools/heap/jsc.d.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/bun-devtools/heap/jsc.d.ts b/packages/bun-devtools/heap/jsc.d.ts new file mode 100644 index 000000000..28ae48127 --- /dev/null +++ b/packages/bun-devtools/heap/jsc.d.ts @@ -0,0 +1,14 @@ +export namespace JSC { + /** + * @link https://github.com/WebKit/webkit/blob/main/Source/JavaScriptCore/heap/HeapSnapshotBuilder.h + */ + export type HeapSnapshot = { + version: 2; + type: "Inspector"; + nodes: number[]; + nodeClassNames: string[]; + edges: number[]; + edgeTypes: string[]; + edgeNames: string[]; + }; +} |