-
Notifications
You must be signed in to change notification settings - Fork 125
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
route state not compatible with typing definition from vue router #84
Comments
i will just shim it for now i guess, import { Route } from "vue-router";
export interface RouteState extends Route {
from: Route;
} |
This issue seems to be about vue-router, not |
There's no |
@posva that is the problem, no thus I believe we should shim it in the type definition file here https://github.com/vuejs/vuex-router-sync/blob/master/types/index.d.ts i can make a PR if you guys think this is the right way to do, i have to shim it in my app anyway. |
Ah, I see but don't add it to the Route type since it's only available in store module. Worst case is creating a new type and exporting it |
prob should define a route typing for the state in this library?
The text was updated successfully, but these errors were encountered: