From 4acf545ab88b0dadcfd779be977e34c08bfabaf5 Mon Sep 17 00:00:00 2001 From: Lachlan Heywood Date: Tue, 6 Feb 2024 10:03:58 -0500 Subject: [PATCH] Minor structure update (#9838) Missed one `#` --- website/src/pages/plugins/typescript/typescript-msw.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/plugins/typescript/typescript-msw.mdx b/website/src/pages/plugins/typescript/typescript-msw.mdx index 2eac6e553c0..b3a7f7a9fac 100644 --- a/website/src/pages/plugins/typescript/typescript-msw.mdx +++ b/website/src/pages/plugins/typescript/typescript-msw.mdx @@ -109,7 +109,7 @@ mockGetUserQuery({ query, variables, operationName, request }) => {}) MSW 2.x introduced a number of breaking changes. The types from `msw` are not compatible between the two versions so to upgrade, you will have to make some changes. -## Updating the resolver function +### Updating the resolver function You will need to update callback signatures to use the new resolver argument. In addition, the returned result must be a `Response` object.