diff --git a/packages/expect/src/types.ts b/packages/expect/src/types.ts index f03c00393944..e688f52e46b8 100644 --- a/packages/expect/src/types.ts +++ b/packages/expect/src/types.ts @@ -6,6 +6,7 @@ * */ import {Config} from '@jest/types'; +import {SnapshotStateType} from 'jest-snapshot'; import * as jestMatcherUtils from 'jest-matcher-utils'; import {INTERNAL_MATCHER_FLAG} from './jestMatchersObject'; @@ -44,7 +45,7 @@ export type MatcherState = { isExpectingAssertions?: boolean; isNot: boolean; promise: string; - snapshotState: any; + snapshotState: SnapshotStateType; suppressedErrors: Array; testPath?: Config.Path; utils: typeof jestMatcherUtils & {