mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
community-cli-plugin: Use TerminalReporter type from metro, replace deep imports (#51092)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51092 `TerminalReporter` is re-exported from `metro` (since [0.76.7](https://github.com/facebook/metro/releases/tag/v0.76.7)), so we can update these deep imports to use public exports. Changelog: [Internal] Reviewed By: huntie Differential Revision: D74141704 fbshipit-source-id: 22cd3209868ed9ab260e199f9099ef98335feaeb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5eed872463
commit
93f22e79d4
@@ -9,7 +9,7 @@
|
||||
* @oncall react_native
|
||||
*/
|
||||
|
||||
import type TerminalReporter from 'metro/src/lib/TerminalReporter';
|
||||
import type {TerminalReporter} from 'metro';
|
||||
|
||||
type LoggerFn = (...message: $ReadOnlyArray<string>) => void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user