mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[flow] enable LTI inference mode (#26104)
This is the next generation inference mode for Flow.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user