Commit de4cdb9
authored
fix(types): import
The `Mock` type is exported by `vitest`, so importing from `@vitest/spy`
is unnecessary. Also, when installed with pnpm, the `@vitest/spy`
package is inaccessible to the type definitions of this package, because
`@vitest/spy` is not a dependency of it.Mock type from vitest (#43)1 parent 33b5dcc commit de4cdb9
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
0 commit comments