Skip to content

Commit 56608a8

Browse files
authored
fix: name the rest field in bitfield SubCommandArgs (#1235)
1 parent 1b77a0a commit 56608a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/bitfield.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Command, type CommandOptions } from "./command";
44
type SubCommandArgs<TRest extends unknown[] = []> = [
55
encoding: string, // u1 - u63 | i1 - i64
66
offset: number | string, // <int> | #<int>
7-
...TRest,
7+
...rest: TRest,
88
];
99

1010
/**

0 commit comments

Comments
 (0)