diff --git a/eslint.config.mjs b/eslint.config.mjs index 8caaa872e68..92f49f59acc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -445,29 +445,6 @@ export default [{ "jsdoc/require-jsdoc": OFF, "jsdoc/require-description": OFF, }, -}, { - files: [ - "packages/**/*.ts", - "packages/**/*.tsx" - ], - - rules: { - "@typescript-eslint/explicit-module-boundary-types": ERROR, - }, -}, { - files: [ - "**/dev/**", - "**/test/**", - "**/stories/**", - "**/docs/**", - "**/chromatic/**", - "**/chromatic-fc/**", - "**/__tests__/**" - ], - - rules: { - "@typescript-eslint/explicit-module-boundary-types": OFF, - }, }, { files: [ "packages/@react-aria/focus/src/**/*.ts", @@ -504,4 +481,4 @@ export default [{ rules: { "react/react-in-jsx-scope": OFF, }, -}]; \ No newline at end of file +}]; diff --git a/packages/@react-spectrum/overlays/src/OpenTransition.tsx b/packages/@react-spectrum/overlays/src/OpenTransition.tsx index ec3b66b33c5..cab6bdcb128 100644 --- a/packages/@react-spectrum/overlays/src/OpenTransition.tsx +++ b/packages/@react-spectrum/overlays/src/OpenTransition.tsx @@ -11,7 +11,7 @@ */ import React, {JSX, JSXElementConstructor, ReactElement} from 'react'; -import {Transition, TransitionProps} from 'react-transition-group'; +import {Transition} from 'react-transition-group'; const OPEN_STATES = { entering: false, @@ -32,7 +32,7 @@ const OPEN_STATES = { */ export function OpenTransition( - props: TransitionProps + props: any ): JSX.Element | ReactElement>[] { // Do not apply any transition if in chromatic. if (process.env.CHROMATIC) {