Skip to content

Commit

Permalink
Return this
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderOMara committed Jan 20, 2025
1 parent ad3d265 commit b422d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macho/macho.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class MachO extends MachOBase {
reader: Reader,
offset = 0,
length = 0,
): Promise<MachO> {
): Promise<this> {
offset = (+offset || 0) - (offset % 1 || 0);
length = (+length || 0) - (length % 1 || 0);
this.mReader = reader;
Expand Down

0 comments on commit b422d1e

Please sign in to comment.