Skip to content

Commit

Permalink
Fix typecheck failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgasson committed May 15, 2024
1 parent dc8e9ff commit 2ccd699
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions flow-typed/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ declare module react {
): React$Context<T>;
declare export var createElement: React$CreateElement;
declare export var cloneElement: React$CloneElement;
declare export function createFactory<ElementType: React$ElementType>(
type: ElementType,
): React$ElementFactory<ElementType>;
declare export function createRef<T>(): {|current: null | T|};

declare export function isValidElement(element: any): boolean;
Expand Down Expand Up @@ -219,7 +216,6 @@ declare module react {
+createContext: typeof createContext,
+createElement: typeof createElement,
+cloneElement: typeof cloneElement,
+createFactory: typeof createFactory,
+createRef: typeof createRef,
+forwardRef: typeof forwardRef,
+isValidElement: typeof isValidElement,
Expand Down

0 comments on commit 2ccd699

Please sign in to comment.