Skip to content

Commit

Permalink
chore: export types for inference
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jul 20, 2024
1 parent 54cfde7 commit 690cb9a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-zebras-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Exported types required for inference.
7 changes: 7 additions & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,13 @@ export type {
Prettify,
UnionLooseOmit,
} from '../types/utils.js'
export type {
SerializeTransactionCIP64ReturnType,
assertTransactionCIP42 as assertTransactionCIP42Celo,
assertTransactionCIP64 as assertTransactionCIP64Celo,
serializeTransaction as serializeTransactionCelo,
serializers as serializersCelo,
} from '../celo/serializers.js'
export type {
CeloBlock,
CeloRpcBlock,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,7 @@ export type {
TransactionSerializedLegacy,
TransactionType,
TransactionRequestEIP4844,
TransactionRequestGeneric,
} from './types/transaction.js'
export type {
ExactPartial,
Expand Down

0 comments on commit 690cb9a

Please sign in to comment.