@@ -47,14 +47,14 @@ const PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
47
47
// We never remove these associations.
48
48
// It's OK to reference families, but use WeakMap/Set for types.
49
49
const allFamiliesByID : Map < string , Family > = new Map ( ) ;
50
- const allFamiliesByType : // $FlowIssue
50
+ const allFamiliesByType : // $FlowFixMe
51
51
WeakMap < any , Family > | Map < any , Family > = new PossiblyWeakMap ( ) ;
52
- const allSignaturesByType : // $FlowIssue
52
+ const allSignaturesByType : // $FlowFixMe
53
53
WeakMap < any , Signature > | Map < any , Signature > = new PossiblyWeakMap ( ) ;
54
54
// This WeakMap is read by React, so we only put families
55
55
// that have actually been edited here. This keeps checks fast.
56
- // $FlowIssue
57
- const updatedFamiliesByType : // $FlowIssue
56
+ // $FlowFixMe
57
+ const updatedFamiliesByType : // $FlowFixMe
58
58
WeakMap < any , Family > | Map < any , Family > = new PossiblyWeakMap ( ) ;
59
59
60
60
// This is cleared on every performReactRefresh() call.
@@ -74,8 +74,8 @@ const failedRoots: Set<FiberRoot> = new Set();
74
74
// In environments that support WeakMap, we also remember the last element for every root.
75
75
// It needs to be weak because we do this even for roots that failed to mount.
76
76
// If there is no WeakMap, we won't attempt to do retrying.
77
- // $FlowIssue
78
- const rootElements: WeakMap< any , ReactNodeList > | null = // $FlowIssue
77
+ // $FlowFixMe
78
+ const rootElements: WeakMap< any , ReactNodeList > | null = // $FlowFixMe
79
79
typeof WeakMap === 'function' ? new WeakMap() : null;
80
80
81
81
let isPerformingRefresh = false;
0 commit comments