Skip to content

Commit

Permalink
Merge pull request #477 from ERC725Alliance/fix/types-dynamicKeyParts
Browse files Browse the repository at this point in the history
fix: allow `number` in types for `dynamicKeyParts`
  • Loading branch information
CJ42 authored Oct 23, 2024
2 parents 5c283dd + 225a0b4 commit f3be1c8
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 f3be1c8

Please sign in to comment.