mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Skip redundant reparsing when translating Flow defs to TS defs (#49840)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49840 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70620551 fbshipit-source-id: d526c1de733f19ab6106ae586632709fd1a389dc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f5feb73022
commit
dc689aa415
@@ -65,7 +65,7 @@ async function translateSourceFile(
|
||||
);
|
||||
|
||||
// Translate to TypeScript defs
|
||||
const tsDefResult = await translate.translateFlowToTSDef(
|
||||
const tsDefResult = await translate.translateFlowDefToTSDef(
|
||||
flowDefResult,
|
||||
prettierOptions,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user