mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50222 The flow-api-translator will generate ```ts export * as default from './AnimatedExports'; ``` in TS which preserves the namespace. Previous import, export translated to: ```ts declare const $$EXPORT_DEFAULT_DECLARATION$$: typeof Animated; declare type $$EXPORT_DEFAULT_DECLARATION$$ = typeof $$EXPORT_DEFAULT_DECLARATION$$; export default $$EXPORT_DEFAULT_DECLARATION$$; ``` which dropped the `Animated` namespace. Changelog: [Internal] Reviewed By: huntie Differential Revision: D71737199 fbshipit-source-id: a46a7ddddd023fa831cd4bb50f17a0641f328066
14 lines
373 B
Plaintext
14 lines
373 B
Plaintext
/**
|
|
* 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.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
* @oncall react_native
|
|
*/
|
|
|
|
export * as default from './AnimatedExports';
|
|
export type {CompositeAnimation, Numeric} from './AnimatedImplementation';
|