From: Chris Duncan Date: Mon, 3 Aug 2026 20:37:48 +0000 (-0700) Subject: Fix hex string type definition. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=796dce2ef25088ad07d836846e532306aba21d8e;p=libnemo.git Fix hex string type definition. --- 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' }