Skip to content

Commit 84c52ec

Browse files
committed
Support Flow as expressions in ESLint rules (#27590)
Support Flow `as` expressions in ESLint rules, e.g. `<expr> as <type>`. This is the same syntax as TypeScript as expressions. I just looked for any place referencing `TSAsExpression` (the TS node) or `TypeCastExpression` (the previous Flow syntax) and added a case for `AsExpression` as well. DiffTrain build for commit 6bfc0e0.
1 parent 0a6cb00 commit 84c52ec

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24901,7 +24901,7 @@ function createFiberRoot(
2490124901
return root;
2490224902
}
2490324903

24904-
var ReactVersion = "18.3.0-canary-d0fcd36af-20231101";
24904+
var ReactVersion = "18.3.0-canary-6bfc0e032-20231101";
2490524905

2490624906
// Might add PROFILE later.
2490724907

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9039,7 +9039,7 @@ var devToolsConfig$jscomp$inline_1033 = {
90399039
throw Error("TestRenderer does not support findFiberByHostInstance()");
90409040
},
90419041
bundleType: 0,
9042-
version: "18.3.0-canary-d0fcd36af-20231101",
9042+
version: "18.3.0-canary-6bfc0e032-20231101",
90439043
rendererPackageName: "react-test-renderer"
90449044
};
90459045
var internals$jscomp$inline_1226 = {
@@ -9070,7 +9070,7 @@ var internals$jscomp$inline_1226 = {
90709070
scheduleRoot: null,
90719071
setRefreshHandler: null,
90729072
getCurrentFiber: null,
9073-
reconcilerVersion: "18.3.0-canary-d0fcd36af-20231101"
9073+
reconcilerVersion: "18.3.0-canary-6bfc0e032-20231101"
90749074
};
90759075
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90769076
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9465,7 +9465,7 @@ var devToolsConfig$jscomp$inline_1075 = {
94659465
throw Error("TestRenderer does not support findFiberByHostInstance()");
94669466
},
94679467
bundleType: 0,
9468-
version: "18.3.0-canary-d0fcd36af-20231101",
9468+
version: "18.3.0-canary-6bfc0e032-20231101",
94699469
rendererPackageName: "react-test-renderer"
94709470
};
94719471
var internals$jscomp$inline_1267 = {
@@ -9496,7 +9496,7 @@ var internals$jscomp$inline_1267 = {
94969496
scheduleRoot: null,
94979497
setRefreshHandler: null,
94989498
getCurrentFiber: null,
9499-
reconcilerVersion: "18.3.0-canary-d0fcd36af-20231101"
9499+
reconcilerVersion: "18.3.0-canary-6bfc0e032-20231101"
95009500
};
95019501
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95029502
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-canary-d0fcd36af-20231101";
30+
var ReactVersion = "18.3.0-canary-6bfc0e032-20231101";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
580580
exports.useTransition = function () {
581581
return ReactCurrentDispatcher.current.useTransition();
582582
};
583-
exports.version = "18.3.0-canary-d0fcd36af-20231101";
583+
exports.version = "18.3.0-canary-6bfc0e032-20231101";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ exports.useSyncExternalStore = function (
583583
exports.useTransition = function () {
584584
return ReactCurrentDispatcher.current.useTransition();
585585
};
586-
exports.version = "18.3.0-canary-d0fcd36af-20231101";
586+
exports.version = "18.3.0-canary-6bfc0e032-20231101";
587587

588588
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
589589
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d0fcd36af479c4c8d419d689550768f535493b68
1+
6bfc0e032acc7e5ad6da2a09f3c4f47f3321da2c

0 commit comments

Comments
 (0)