Skip to content

Commit 6d64a3f

Browse files
authored
docs: clarify node types (#8216)
1 parent 76fb75d commit 6d64a3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide/migration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ Vitest 4.0 removes some deprecated APIs, including:
124124
- `environmentMatchGlobs` config option. Use [`projects`](/guide/projects) instead.
125125
- `workspace` config option. Use [`projects`](/guide/projects) instead.
126126

127+
This release also removes all deprecated types. This finally fixes an issue where Vitest accidentally pulled in `node` types (see [#5481](https://github.com/vitest-dev/vitest/issues/5481) and [#6141](https://github.com/vitest-dev/vitest/issues/6141)).
128+
127129
## Migrating from Jest {#jest}
128130

129131
Vitest has been designed with a Jest compatible API, in order to make the migration from Jest as simple as possible. Despite those efforts, you may still run into the following differences:

0 commit comments

Comments
 (0)