Minimal router tests type error
Hi!
I want to have a minimal router for testing, but I have defined a type for router, and now this is giving me a type error.
How can I adjust my minimal router to fit the type, or adjust the type to fit my minimal router?
Here are my types/interfaces for the actual router:
This is the error I get:
Here is my minimal router used for testing:
I want to have a minimal router for testing, but I have defined a type for router, and now this is giving me a type error.
'__store.state' are incompatible between these types.How can I adjust my minimal router to fit the type, or adjust the type to fit my minimal router?
Here are my types/interfaces for the actual router:
This is the error I get:
'__store.state' are incompatible between these types.Here is my minimal router used for testing:
