dillon1000/react

Commit

[eprh] Fix config type not being exported correctly (#34746)

Another attempt to fix #34745. I updated our fixture for eslint-v9 to
include running tsc. I believe there were 2 issues:

1. `export * from './cjs/eslint-plugin-react-hooks'` in npm/index.d.ts
was no longer correct as we updated index.ts to export default instead
of named exports
2. After fixing ^ there was a typescript error which I fixed by making
some small tweaks
Browse files
Changed paths6 files
First-parent comparison
M fixtures/eslint-v9/eslint.config.ts ModifiedM fixtures/eslint-v9/package.json ModifiedM fixtures/eslint-v9/tsconfig.json ModifiedM fixtures/eslint-v9/yarn.lock ModifiedM packages/eslint-plugin-react-hooks/npm/index.d.ts ModifiedM packages/eslint-plugin-react-hooks/src/index.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…