TypeScript ChangesThe most common changes can be codemodded with npx types-react-codemod@latest preset-19 ./path-to-your-react-ts-files.Removed deprecated TypeScript types: ReactChild (replacement: React.ReactElement | number | string) ReactFragment (replacement: Iterable<React.ReactNode>) ...
('eslint').Linter.FlatConfig[]} */ export const configuration1 = [ { plugins: { 'react-hooks': eslintPluginReactHooks } } ]; /** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile} */ export const configuration2 = [ { plugins: { 'react-hooks': eslint...
if(node.type==='Identifier'||node.type==='JSXIdentifier'){ The expected behavior ESlint rule should not crash. According to#18819 (comment)optional chaining should be supported. I was testingan ESLint testing toolI've been creating and ran into this issue. I can work on a fix for this...
type of throttledMethod: ((offset: number) => void) & Cancelable
chore(deps): update all non-major dependencies (@babel/core, @babel/plugin-transform-runtime, @babel/preset-env, @babel/preset-react, @babel/preset-typescript, @next/bundle-analyzer, @next/eslint-plugin-next, @popperjs/core, @types/enzyme, @types/glob, @types/jest, @types/js-cookie, ...