diff --git a/packages/eslint-plugin-react-hooks/npm/index.d.ts b/packages/eslint-plugin-react-hooks/npm/index.d.ts index c883d6f8adf6c..7516dc1e846e2 100644 --- a/packages/eslint-plugin-react-hooks/npm/index.d.ts +++ b/packages/eslint-plugin-react-hooks/npm/index.d.ts @@ -5,4 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -export {default} from './cjs/eslint-plugin-react-hooks'; +import reactHooks from './cjs/eslint-plugin-react-hooks'; + +export = reactHooks;