import "jest-extended"; import { TagCategory } from "../BooruTypes"; declare global { namespace jest { interface Matchers { // The `= undefined` part is incorrect according to VSCode, but it is actually required. toHaveTag(tagName: string, tagCategory: TagCategory | undefined = undefined): CustomMatcherResult; toHaveNote(noteText: string): CustomMatcherResult; toHaveResolution(resolution: [number, number]): CustomMatcherResult; } } }