// Centralized Vitest mock type for harness modules under `src/`. // Using an explicit named type avoids exporting inferred `vi.fn()` types that can trip TS2742. // Keep the callable bound permissive so explicit callback signatures remain assignable. // Vitest's mock generic is itself anchored to an `any`-based Procedure type. // oxlint-disable-next-line typescript/no-explicit-any
export type MockFn<T extends (...args: any[]) => any = (...args: any[]) => any> = import("vitest").Mock<T>;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.