Skip to content

Commit

Permalink
Add missing type definitions for the new r2pipe callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jan 16, 2024
1 parent 5f17b4b commit bb9ee7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nodejs/r2pipe/r2pipe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
export class R2Pipe {
cmd(string): string;
cmdj(string): any;
cmdAt(string, string|number): any;
call(string): string;
callj(string): any;
callAt(string, string|number): any;
plugin(string, any): boolean;
unload(string, string): boolean;
log(string);
}

export default class r2pipe {
Expand Down

0 comments on commit bb9ee7f

Please sign in to comment.