Skip to content

Commit

Permalink
chore: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Sep 11, 2024
1 parent 863b7d9 commit bee151d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ssz/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export {ContainerType} from "./type/container";
export {ContainerNodeStructType} from "./type/containerNodeStruct";
export {ListBasicType} from "./type/listBasic";
export {ListCompositeType} from "./type/listComposite";
export {PartialListCompositeType} from "./type/partialListComposite";
export {NoneType} from "./type/none";
export {UintBigintType, UintNumberType} from "./type/uint";
export {UnionType} from "./type/union";
Expand All @@ -34,5 +35,5 @@ export {BitArray, getUint8ByteToBitBooleanArray} from "./value/bitArray";

// Utils
export {fromHexString, toHexString, byteArrayEquals} from "./util/byteArray";

export {Snapshot} from "./util/types";
export {hash64, symbolCachedPermanentRoot} from "./util/merkleize";
1 change: 1 addition & 0 deletions packages/ssz/src/util/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export type Require<T, K extends keyof T> = T & Required<Pick<T, K>>;

/** Snapshot for PartialListCompositeType */
export type Snapshot = {
finalized: Uint8Array[];
root: Uint8Array;
Expand Down

0 comments on commit bee151d

Please sign in to comment.