mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Further test fix
This commit is contained in:
+4
@@ -4,6 +4,8 @@
|
||||
```javascript
|
||||
// @enableFlowSuppressions
|
||||
|
||||
function useX() {}
|
||||
|
||||
function Foo(props) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
useX();
|
||||
@@ -28,6 +30,8 @@ export const FIXTURE_ENTRYPOINT = {
|
||||
```javascript
|
||||
import { unstable_useMemoCache as useMemoCache } from "react"; // @enableFlowSuppressions
|
||||
|
||||
function useX() {}
|
||||
|
||||
function Foo(props) {
|
||||
const $ = useMemoCache(3);
|
||||
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
// @enableFlowSuppressions
|
||||
|
||||
function useX() {}
|
||||
|
||||
function Foo(props) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
useX();
|
||||
|
||||
Reference in New Issue
Block a user