Skip to content

Commit

Permalink
fix: allow number in types for dynamicKeyParts
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Oct 23, 2024
1 parent 5c283dd commit 225a0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/decodeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { EncodeDataType, URLDataWithHash } from './encodeData/JSONURL';
export interface DataInput {
keyName: string; // can be the name or the hex/hash
value;
dynamicKeyParts?: string | string[];
dynamicKeyParts?: string | string[] | number;
totalArrayLength?: number;
startingIndex?: number;
}
Expand Down

0 comments on commit 225a0b4

Please sign in to comment.