Skip to content

Commit

Permalink
TypeScript: add 'offset' property to Packr
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed Jun 14, 2024
1 parent 7f77495 commit e08ab02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const C1: {}
export let isNativeAccelerationEnabled: boolean

export class Packr extends Unpackr {
offset: number;
pack(value: any, encodeOptions?: number): Buffer
encode(value: any, encodeOptions?: number): Buffer
useBuffer(buffer: Buffer): void;
Expand Down

0 comments on commit e08ab02

Please sign in to comment.