Skip to content

Commit 217fd80

Browse files
marcoww6meta-codesync[bot]
authored andcommitted
Transform $Values to Values
Summary: X-link: react/react-native#55136 Stacking another diff on top of hermes release. Let's see if there's still any CI failures. ` js1 flow-runner codemod flow/transformUtilityType --format-files=false --legacy-type='$Values' xplat/js` drop-conflicts Reviewed By: gkz Differential Revision: D90549059 fbshipit-source-id: e07faa80b5ed0a675a2bc9bcc45d4084aaae9eda
1 parent 4a8dcb3 commit 217fd80

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

flow-typed/npm/chalk_v4.x.x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ declare module 'chalk' {
6969

7070
declare type TemplateStringsArray = $ReadOnlyArray<string>;
7171

72-
declare type Level = $Values<{
72+
declare type Level = Values<{
7373
None: 0,
7474
Basic: 1,
7575
Ansi256: 2,

packages/metro-resolver/src/utils/reduceExportsLikeMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function reduceExportsLikeMap(
5959
* See https://nodejs.org/docs/latest-v19.x/api/packages.html#conditional-exports.
6060
*/
6161
function reduceConditionalExport(
62-
subpathValue: $Values<ExportsLikeMap>,
62+
subpathValue: Values<ExportsLikeMap>,
6363
conditionNames: ReadonlySet<string>,
6464
): string | null | 'no-match' {
6565
let reducedValue = subpathValue;

0 commit comments

Comments
 (0)