@@ -47,14 +47,14 @@ const PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
4747// We never remove these associations.
4848// It's OK to reference families, but use WeakMap/Set for types.
4949const allFamiliesByID : Map < string , Family > = new Map ( ) ;
50- const allFamiliesByType : // $FlowIssue
50+ const allFamiliesByType : // $FlowFixMe
5151WeakMap < any , Family > | Map < any , Family > = new PossiblyWeakMap ( ) ;
52- const allSignaturesByType : // $FlowIssue
52+ const allSignaturesByType : // $FlowFixMe
5353WeakMap < any , Signature > | Map < any , Signature > = new PossiblyWeakMap ( ) ;
5454// This WeakMap is read by React, so we only put families
5555// that have actually been edited here. This keeps checks fast.
56- // $FlowIssue
57- const updatedFamiliesByType : // $FlowIssue
56+ // $FlowFixMe
57+ const updatedFamiliesByType : // $FlowFixMe
5858WeakMap < any , Family > | Map < any , Family > = new PossiblyWeakMap ( ) ;
5959
6060// This is cleared on every performReactRefresh() call.
@@ -74,8 +74,8 @@ const failedRoots: Set<FiberRoot> = new Set();
7474// In environments that support WeakMap, we also remember the last element for every root.
7575// It needs to be weak because we do this even for roots that failed to mount.
7676// 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
7979 typeof WeakMap === 'function' ? new WeakMap() : null;
8080
8181let isPerformingRefresh = false;
0 commit comments