Skip to content

Conversation

D4ve-R
Copy link
Contributor

@D4ve-R D4ve-R commented Mar 1, 2025

Fix to use the correct type Router instead of Config for global ziggy route()

@tnylea
Copy link
Contributor

tnylea commented Mar 3, 2025

Thanks for the PR. @D4ve-R. What is this resolving. Do you get a TS error that this Config is the incorrect type. Just want to know how I can replicate the issue.

Appreciate it.

@tnylea tnylea added the Awaiting User Response Waiting for developers response label Mar 3, 2025
@D4ve-R
Copy link
Contributor Author

D4ve-R commented Mar 4, 2025

No problem!
Yes, it threw a type error when calling route().current('your-route').

@tnylea
Copy link
Contributor

tnylea commented Mar 10, 2025

Great. @D4ve-R can you resolve the conflict in the ziggy.ts file and we can re-visit getting this one merged in.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting User Response Waiting for developers response

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants