Skip to content

Commit

Permalink
docs: Add note on types to upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys authored Nov 8, 2024
1 parent dbae2a3 commit 78b93af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/Usage/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ The same is true for `postOnce()`, `deleteOnce()` etc.
### `sandbox()` method removed

This was principally used when mocking node-fetch referenced as a local variable. Given that `fetch` is now available as a native global it's less useful and has been removed. If necessary to mock a local instance of node-fetch use [`.fetchHandler`](/fetch-mock/docs/API/mocking-and-spying#fetchhandler)

### Types completely written
There are many changes, both in the naming and structuring of types. Refer to the errors generated by your toolchain to update these.

0 comments on commit 78b93af

Please sign in to comment.