[flow] enable LTI inference mode (#26104)

This is the next generation inference mode for Flow.
This commit is contained in:
Jan Kassens
2023-02-09 17:07:39 -05:00
committed by GitHub
parent 53b1f69ba6
commit 6ddcbd4f96
110 changed files with 376 additions and 281 deletions
@@ -54,7 +54,7 @@ let reentry = false;
let componentFrameCache;
if (__DEV__) {
const PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
componentFrameCache = new PossiblyWeakMap();
componentFrameCache = new PossiblyWeakMap<$FlowFixMe, string>();
}
export function describeNativeComponentFrame(