Skip to content

Commit

Permalink
refactor: export generic PTypes for testing package to capture generi…
Browse files Browse the repository at this point in the history
…c type info
  • Loading branch information
boblat committed Nov 12, 2024
1 parent 4fbcb01 commit 848216b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/algo-ts/src/arc4/encoded-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type BitSize = 8 | 16 | 32 | 64 | 128 | 256 | 512
type NativeForArc4Int<N extends BitSize> = N extends 8 | 16 | 32 | 64 ? uint64 : biguint
type CompatForArc4Int<N extends BitSize> = 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')
Expand Down

0 comments on commit 848216b

Please sign in to comment.