Skip to content

How to deal with typescript with property from pinia plugin in computed #2270

Closed Answered by posva
joris-gallot asked this question in Help and Questions
Discussion options

You must be logged in to vote

This is not possible to type because types are recursive (the error you see)

I would suggest not to put the tax in a plugin but rather in a global variable or a store if needed

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by joris-gallot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants