Replies: 1 comment
-
You can import the types from Viem directly with a type-only import. For example: import type { Client } from 'viem' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey, i'm currently creating a library whitch accept a viem client as parameters. But i never use viem instance in it. I only need types to make my dependencies lighter. i tried @types/viem but it dont work.
Beta Was this translation helpful? Give feedback.
All reactions