Skip to content

Commit

Permalink
Merge pull request #70 from saiichihashimoto/patch-1
Browse files Browse the repository at this point in the history
mocks as a readonly array
  • Loading branch information
lifeiscontent authored Apr 15, 2022
2 parents 6d3b0c4 + b852179 commit 6229ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DocumentNode } from "graphql";
export interface MockedProviderProps {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any;
mocks?: MockedResponse[];
mocks?: ReadonlyArray<MockedResponse>;
children?: React.ReactNode;
}

Expand Down

0 comments on commit 6229ad2

Please sign in to comment.