Skip to content

Commit

Permalink
fix: name the rest field in bitfield SubCommandArgs (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda authored Aug 8, 2024
1 parent 1b77a0a commit 56608a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/bitfield.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Command, type CommandOptions } from "./command";
type SubCommandArgs<TRest extends unknown[] = []> = [
encoding: string, // u1 - u63 | i1 - i64
offset: number | string, // <int> | #<int>
...TRest,
...rest: TRest,
];

/**
Expand Down

0 comments on commit 56608a8

Please sign in to comment.