Skip to content

Commit

Permalink
fix: change return type of expect.any(...) to any
Browse files Browse the repository at this point in the history
  • Loading branch information
TrickyPi committed Feb 20, 2022
1 parent 2e1e9c3 commit 383656e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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'

Expand Down Expand Up @@ -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<MatcherState>): void
Expand Down

0 comments on commit 383656e

Please sign in to comment.