]> git.codecow.com Git - libnemo.git/commitdiff
Fix hex string type definition.
authorChris Duncan <chris@codecow.com>
Mon, 3 Aug 2026 20:37:48 +0000 (13:37 -0700)
committerChris Duncan <chris@codecow.com>
Mon, 3 Aug 2026 20:37:48 +0000 (13:37 -0700)
src/index.ts

index 5170ad17f2eb8d8402c61c009418e03347387534..c1d18a58bae06d4f4f20b31e5836f899d4e71867 100644 (file)
@@ -12,7 +12,7 @@ import { Wallet } from './lib/wallet'
 
 declare global {
        type Bytes = Uint8Array<ArrayBuffer> | Buffer<ArrayBuffer>
-       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'
 }