Skip to content

Commit 6c6b4e9

Browse files
authored
Missing type annotation
1 parent a7abdfa commit 6c6b4e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function structDataView(struct: AnyStruct): DataView {
3333
* @param end byte offset of the end of the subrange
3434
* @returns region of the given struct.
3535
*/
36-
export function structBytes(struct: AnyStruct, start?: number, end?: number) {
36+
export function structBytes(struct: AnyStruct, start?: number, end?: number): Uint8Array {
3737
const dv = structDataView(struct)
3838
start ??= 0
3939
end ??= dv.byteLength

0 commit comments

Comments
 (0)