From 225a0b47035d301098dc24d510d599216257593c Mon Sep 17 00:00:00 2001 From: CJ42 Date: Wed, 23 Oct 2024 12:13:52 +0200 Subject: [PATCH] fix: allow `number` in types for `dynamicKeyParts` --- src/types/decodeData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/decodeData.ts b/src/types/decodeData.ts index 057b65c5..66539731 100644 --- a/src/types/decodeData.ts +++ b/src/types/decodeData.ts @@ -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; }