From 848216b28fe837c09bddd65488c3ed08303ec6dc Mon Sep 17 00:00:00 2001 From: Bobby Lat Date: Fri, 8 Nov 2024 14:42:01 +0800 Subject: [PATCH] refactor: export generic PTypes for testing package to capture generic type info --- packages/algo-ts/src/arc4/encoded-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/algo-ts/src/arc4/encoded-types.ts b/packages/algo-ts/src/arc4/encoded-types.ts index 3559af29..08efc071 100644 --- a/packages/algo-ts/src/arc4/encoded-types.ts +++ b/packages/algo-ts/src/arc4/encoded-types.ts @@ -8,7 +8,7 @@ export type BitSize = 8 | 16 | 32 | 64 | 128 | 256 | 512 type NativeForArc4Int = N extends 8 | 16 | 32 | 64 ? uint64 : biguint type CompatForArc4Int = N extends 8 | 16 | 32 | 64 ? Uint64Compat : BigUintCompat -abstract class ARC4Encoded implements BytesBacked { +export abstract class ARC4Encoded implements BytesBacked { abstract __type?: string get bytes(): bytes { throw new Error('todo')