Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix TypeScript definitions (#7)
See #2 (comment) for context. I found a couple of issues in the previous TypeScript definitions: - There was no declaration of `toMatchFile`, so it couldn't be imported (e.g. `import { toMatchFile } from "jest-file-snapshot";`) - The augmentation of the expect() function exposed by Jest required wrapping the namespace into `declare global { ... }`
- Loading branch information