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 trying to build a react + typescript frontend with ziggy, the build fails, with the following error message:
Error: vendor/tightenco/ziggy/src/js/index.d.ts(1,26): error TS7016: Could not find a declaration file for module 'qs'. '/node_modules/qs/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/qs` if it exists or add a new declaration (.d.ts) file containing `declare module 'qs';`
Error: Process completed with exit code 2.
Expectation
The library ships with the type definitions for qs
Ziggy call and context
-
Ziggy configuration
-
Route definition
-
The text was updated successfully, but these errors were encountered:
Ziggy version
v2.4.0
Laravel version
11.31.0
Description
Problem
When trying to build a react + typescript frontend with ziggy, the build fails, with the following error message:
Expectation
The library ships with the type definitions for
qs
Ziggy call and context
-
Ziggy configuration
-
Route definition
The text was updated successfully, but these errors were encountered: