diff --git a/packages/vitest/src/index.ts b/packages/vitest/src/index.ts index ca8732ff8c8b..144a2a6df5e7 100644 --- a/packages/vitest/src/index.ts +++ b/packages/vitest/src/index.ts @@ -1,5 +1,5 @@ import type { Plugin as PrettyFormatPlugin } from 'pretty-format' -import type { Any, Anything } from './integrations/chai/jest-asymmetric-matchers' +import type { Anything } from './integrations/chai/jest-asymmetric-matchers' import type { MatcherState, MatchersObject } from './integrations/chai/types' import type { Constructable, InlineConfig } from './types' @@ -54,7 +54,7 @@ declare global { assertions(expected: number): void hasAssertions(): void anything(): Anything - any(constructor: unknown): Any + any(constructor: unknown): any addSnapshotSerializer(plugin: PrettyFormatPlugin): void getState(): MatcherState setState(state: Partial): void