You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two interfaces from `vitest` that I extend using module augmentgation:
43
-
44
-
-`Assertion<T>`, which controls the matchers returned by calling `expect()`;
45
-
-`MatchersDeclaration`, which annotates the matcher declarations passed to `expect.extend()`.
46
-
47
-
<callout-info>Since Vitest 3.2, you can extend the `Matchers` interface to have type-safe assertions in `expect.extend`, `expect().*` and `expect.*` methods at the same time.</callout-info>
41
+
This is the interface from `vitest` that I extend using module augmentation:
0 commit comments