mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 15:33:29 +02:00
Updated comment
This commit is contained in:
parent
e60f2c66c5
commit
f1a0f96b37
3
test/@types/vitest.d.ts
vendored
3
test/@types/vitest.d.ts
vendored
@ -43,6 +43,9 @@ declare module "vitest" {
|
||||
* @typeParam M - The type of the matchers object to restrict
|
||||
* @typeParam T - The type parameter of the assertion
|
||||
* @typeParam R - The type to restrict T based off of
|
||||
* @privateRemarks
|
||||
* We cannot remove incompatible methods outright as Typescript requires that
|
||||
* interfaces extend solely off of types with statically known members.
|
||||
*/
|
||||
type RestrictMatcher<M extends object, T, R> = {
|
||||
[k in keyof M]: T extends R ? M[k] : never;
|
||||
|
Loading…
Reference in New Issue
Block a user