Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export "Strategy" type #7

Open
gndelia opened this issue Jun 4, 2024 · 0 comments
Open

Export "Strategy" type #7

gndelia opened this issue Jun 4, 2024 · 0 comments
Labels
eth-rpc-cache Issues related to the "eth-rpc-cache" package

Comments

@gndelia
Copy link
Contributor

gndelia commented Jun 4, 2024

If a user wants to implement a custom strategy in typescript, there's no way to type the object with "Strategy". The current workaround is importing an existing Strategy and using typeof permanentStrategy

@gndelia gndelia added the eth-rpc-cache Issues related to the "eth-rpc-cache" package label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eth-rpc-cache Issues related to the "eth-rpc-cache" package
Projects
None yet
Development

No branches or pull requests

1 participant