Skip to content

Commit

Permalink
Replace React$SomeUtilityType with React.SomeUtilityType 3/n
Browse files Browse the repository at this point in the history
Reviewed By: gkz

Differential Revision: D60769917

fbshipit-source-id: d4cd32743b6d0569d401eaf310ba1aabb019929a
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Aug 5, 2024
1 parent 9b24adb commit 5c40ce2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flow-typed/npm/jest_v29.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ type EnzymeMatchersType = {
toContainMatchingElement(selector: string): void,
toContainMatchingElements(n: number, selector: string): void,
toContainExactlyOneMatchingElement(selector: string): void,
toContainReact(element: React$Element<any>): void,
toContainReact(element: React.Element<any>): void,
toExist(): void,
toHaveClassName(className: string): void,
toHaveHTML(html: string): void,
Expand All @@ -265,7 +265,7 @@ type EnzymeMatchersType = {
toHaveValue(value: any): void,
toIncludeText(text: string): void,
toMatchElement(
element: React$Element<any>,
element: React.Element<any>,
options?: {|ignoreProps?: boolean, verbose?: boolean|},
): void,
toMatchSelector(selector: string): void,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-relay/relay-hooks/ProfilerContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type ProfilerContextType = {
...
};

const ProfilerContext: React$Context<ProfilerContextType> = React.createContext(
const ProfilerContext: React.Context<ProfilerContextType> = React.createContext(
{
wrapPrepareQueryResource: <T>(cb: () => T): T => {
return cb();
Expand Down

0 comments on commit 5c40ce2

Please sign in to comment.