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
I'm using Laravel-Inertiajs-Svelte setup, which means I have global function route() available according to my web.php.
However, I'm getting 'route' is not defined svelte(missing-declaration) warning.
I had to ignore these warning altogether, instead of declaring my global functions.
Proposed solution
Add "globals" input array to extension settings to make users able to provide list of their global functions.
Alternatives
No response
Additional Information, eg. Screenshots
The text was updated successfully, but these errors were encountered:
Description
I'm using Laravel-Inertiajs-Svelte setup, which means I have global function
route()
available according to myweb.php
.However, I'm getting
'route' is not defined svelte(missing-declaration)
warning.I had to ignore these warning altogether, instead of declaring my global functions.
Proposed solution
Add
"globals"
input array to extension settings to make users able to provide list of theirglobal
functions.Alternatives
No response
Additional Information, eg. Screenshots
The text was updated successfully, but these errors were encountered: