mocha-chai-jest-snapshot icon indicating copy to clipboard operation
mocha-chai-jest-snapshot copied to clipboard

Fix #15 - Cannot find name 'SnapshotStateOptions'

Open Maxim-Mazurok opened this issue 1 year ago • 1 comments

Instead of using import { SnapshotStateOptions } from "jest-snapshot/build/State"; I'm using type SnapshotStateOptions = ConstructorParameters<typeof SnapshotState>[1];

Maxim-Mazurok avatar Apr 09 '23 02:04 Maxim-Mazurok