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
Today, after upgrading to latest and doing yarn install; yarn build, we get this in CI/CD
vendor/tightenco/ziggy/src/js/index.d.ts:1:26 - error TS7016: Could not find a declaration file for module 'qs'. '/var/www/hr/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';`
Or this in local:
vendor/tightenco/ziggy/src/js/index.d.ts:1:26 - error TS7016: Could not find a declaration file for module 'qs'. '/Users/dac.chartrand/code/github/Humi-HR/humility/applications/hr/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';`
1 import { ParsedQs } from 'qs';
~~~~
Found 1 error in vendor/tightenco/ziggy/src/js/index.d.ts:1
Ziggy version
2.4.1
Laravel version
10.48.24
Description
In a Laravel/React/Inertia.js project, we go with the recommendation to get TypeScript types directly from the composer packages, see:
Today, after upgrading to latest and doing
yarn install; yarn build
, we get this in CI/CDOr this in local:
Ziggy call and context
Ziggy configuration
Route definition
The text was updated successfully, but these errors were encountered: