Skip to content

Commit

Permalink
Fix json union type
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Nov 3, 2020
1 parent ee9f59e commit ca51ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { UserProfile, UserProvider } from '../../src';

type FetchMock = {
ok: boolean;
json: () => Promise<UserProfile> | undefined;
json: (() => Promise<UserProfile>) | undefined;
};

export const user: UserProfile = {
Expand Down

0 comments on commit ca51ebb

Please sign in to comment.