You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generated route name ends with reserved javascript keywords (delete, export, import etc.), TypeScript throws ts(1389) error which is ... is not allowed as a variable declaration name..
Steps To Reproduce
Fresh laravel install
Install wayfinder
Edit web.php and add a route named import and product.import
Run wayfinder
See generated output
The text was updated successfully, but these errors were encountered:
Wayfinder Version
0.1.3
Laravel Version
12.0
PHP Version
8.3.17
Description
At first, thank you for your efforts,
When generated route name ends with reserved javascript keywords (delete, export, import etc.), TypeScript throws
ts(1389)
error which is... is not allowed as a variable declaration name.
.Steps To Reproduce
web.php
and add a route namedimport
andproduct.import
The text was updated successfully, but these errors were encountered: