diff --git a/packages/react-native/Libraries/Animated/AnimatedWeb.js b/packages/react-native/Libraries/Animated/AnimatedWeb.js deleted file mode 100644 index 167dafa6fe9..00000000000 --- a/packages/react-native/Libraries/Animated/AnimatedWeb.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - * @flow strict-local - */ - -'use strict'; - -import type {AnimatedComponentType} from './createAnimatedComponent'; - -import AnimatedImplementation from './AnimatedImplementation'; -import React from 'react'; - -export default { - ...AnimatedImplementation, - div: AnimatedImplementation.createAnimatedComponent< - React.PropsOf<'div'>, - mixed, - >( - /* $FlowFixMe[incompatible-call] createAnimatedComponent expects to receive - * types. Plain intrinsic components can't be typed like this */ - 'div', - ) as AnimatedComponentType>, - span: AnimatedImplementation.createAnimatedComponent< - React.PropsOf<'span'>, - mixed, - >( - /* $FlowFixMe[incompatible-call] createAnimatedComponent expects to receive - * types. Plain intrinsic components can't be typed like this */ - 'span', - ) as AnimatedComponentType>, - img: AnimatedImplementation.createAnimatedComponent< - React.PropsOf<'img'>, - mixed, - >( - /* $FlowFixMe[incompatible-call] createAnimatedComponent expects to receive - * types. Plain intrinsic components can't be typed like this */ - 'img', - ) as AnimatedComponentType>, -}; diff --git a/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap b/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap index d9ddc1a33b9..ba15b1b6a89 100644 --- a/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap +++ b/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap @@ -279,16 +279,6 @@ exports[`public API should not change unintentionally Libraries/Animated/Animate " `; -exports[`public API should not change unintentionally Libraries/Animated/AnimatedWeb.js 1`] = ` -"declare export default { - ...AnimatedImplementation, - div: AnimatedComponentType>, - span: AnimatedComponentType>, - img: AnimatedComponentType>, -}; -" -`; - exports[`public API should not change unintentionally Libraries/Animated/Easing.js 1`] = ` "declare const Easing: { step0(n: number): number,