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

Property Context.Params does not exist #664

Closed
gabrielwbenatti opened this issue Jul 16, 2024 · 1 comment
Closed

Property Context.Params does not exist #664

gabrielwbenatti opened this issue Jul 16, 2024 · 1 comment
Labels
invalid This doesn't seem right

Comments

@gabrielwbenatti
Copy link

When I type "Context.Params" an exception raises with the message "Property 'params' does not exist on type 'Context<State, Record<string, any>>"

image

Is it normal? Is there a possible to fix?

@kitsonk kitsonk added the invalid This doesn't seem right label Jul 17, 2024
@kitsonk
Copy link
Collaborator

kitsonk commented Jul 17, 2024

Yes it is normal, because .params does not exist on Context, it only exists on RouteContext (which is the context that is passed to router middleware).

@kitsonk kitsonk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants