Upgrade to Next.js 16.2.3, TypeScript 6.0.2, Node 24, React 19 types

Chorekamo-register
Ya
12 Aprili 2026, 04:01 UTC
Mwandishi
Kamo
Ahadi ya
4584ea2

- Pin next to 16.2.3 and eslint-config-next to match - Upgrade typescript to exact 6.0.2, @types/node to ^24 - Replace framer-motion with motion ^12 (motion/react imports) - Add .nvmrc pinned to Node 24.14.1 - tsconfig: target ES2022, jsx react-jsx, erasableSyntaxOnly, updated includes - next.config.mjs: remove deprecated eslint/typescript keys, update optimizePackageImports - Add global.d.ts for swiper CSS and react-world-flags declarations - Fix all TypeScript errors now surfaced without ignoreBuildErrors: - catch clauses typed as unknown with instanceof Error guards - JSX.Element return types removed (inferred) or replaced with ReactElement - Fixed RoleRightTypeParams tuple (4→5 elements) and getter indices - Fixed implicit any props in FormCreateNewClub and FormUserIDPassword - Fixed handleInputChange type consistency across child components - Fixed broken RoleRightType import path in KToken.ts - Fixed redisClient null usage → **************** - Fixed MUI Shadows tuple indexing cast in org/page.tsx

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei