From 796dce2ef25088ad07d836846e532306aba21d8e Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 3 Aug 2026 13:37:48 -0700 Subject: [PATCH] Fix hex string type definition. --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5170ad1..c1d18a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,7 +12,7 @@ import { Wallet } from './lib/wallet' declare global { type Bytes = Uint8Array | Buffer - type Hex = [HexByte] + type Hex = HexByte[] type HexByte = `${HexChar}${HexChar}` type HexChar = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' } -- 2.52.0