diff --git a/packages/common/src/types/common.ts b/packages/common/src/types/common.ts index 66e24bce..8d8ebb75 100644 --- a/packages/common/src/types/common.ts +++ b/packages/common/src/types/common.ts @@ -3,6 +3,8 @@ export type ErgoTree = string; export type Base58String = string; export type Amount = string | bigint; +export type OneOrMore = T | T[]; + export type SortingSelector = (item: T) => string | number | bigint; export type SortingDirection = "asc" | "desc";