Typescript code splitting endpoints type #2199
Answered
by
Janaka-Steph
Janaka-Steph
asked this question in
Q&A
-
Hello! I have an issue with Typescript in code splitting context.
TS Error: property What is the proper way of fixing the |
Beta Was this translation helpful? Give feedback.
Answered by
Janaka-Steph
Apr 4, 2022
Replies: 1 comment 1 reply
-
Actually I suppose I have to export |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Janaka-Steph
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually I suppose I have to export
walletApi
and use it like sowalletApi.endpoints.walletAddress.initiate()
instead of calling it frombaseApi