fix(types): clear 110 of the 280 tsc errors blocking CI - #543
Merged
Annotations
10 errors and 11 warnings
|
Type Check:
components/fleet/__tests__/EnterpriseDashboard.test.tsx#L52
Property 'updatedAt' is missing in type '{ lat: number; lng: number; }' but required in type 'DriverLocation'.
|
|
Type Check:
components/fleet/__tests__/EnterpriseDashboard.test.tsx#L40
Property 'updatedAt' is missing in type '{ lat: number; lng: number; }' but required in type 'DriverLocation'.
|
|
Type Check:
__tests__/integration/DashboardMetrics.test.tsx#L7
Cannot find module '@/services/metricsService' or its corresponding type declarations.
|
|
Type Check:
__tests__/integration/DashboardMetrics.test.tsx#L6
Cannot find module '@/components/DashboardMetrics' or its corresponding type declarations.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L104
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L77
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L62
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L26
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/FleetMap.test.tsx#L6
Cannot find module 'mapbox-gl' or its corresponding type declarations.
|
|
Type Check:
__tests__/components/FleetMap.test.tsx#L5
Cannot find module '@/components/FleetMap' or its corresponding type declarations.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
app/api/federation/resolve/route.ts#L28
'e' is defined but never used
|
|
Lint
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Lint:
__tests__/features/checkout/checkout-flow.test.tsx#L2
'render' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/features/checkout/checkout-flow.test.tsx#L1
'React' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L86
'user' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L4
'waitFor' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L4
'render' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L3
'React' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/shared/CommandPalette.test.tsx#L35
Elements with the ARIA role "option" must have the following attributes defined: aria-selected
|
|
Lint:
__tests__/components/shared/CommandPalette.test.tsx#L3
'waitFor' is defined but never used. Allowed unused vars must match /^_/u
|
background
wait
wait-all
cancel
parallel
Loading