Skip to content

Commit 59f78c2

Browse files
authored
Merge pull request #47 from lengthmin/master
chore: add `dump` typing
2 parents 0887be6 + 450009e commit 59f78c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ export function walkStack(
1919
commandArgs?: string[]
2020
): void
2121

22+
/**
23+
* Get the contents of the minidump file in somewhat readable text(not yet symbolicated).
24+
* The `callback` would be called with `callback(error, report)` upon completion.
25+
*/
26+
export function dump(
27+
minidump: string,
28+
callback: (err: Error, result: Buffer) => void,
29+
commandArgs?: string[],
30+
): void
31+
2232
/**
2333
* Dump debug symbols in minidump format from `binaryPath`
2434
* The `callback` would be called with `callback(error, minidump)` upon completion.

0 commit comments

Comments
 (0)