snapshot-diff
snapshot-diff copied to clipboard
chore: migrate to typescript
Why not 😀
I have no idea if the global types still work. They should.
Tested globals extending jest object on a sample project with snapshot-diff linked and it didn't work. I wonder how would it work if root index.d.ts is not referenced by tsconfig nor package.json now. I tried moving namespace declaration to build/index.d.ts directly and it doesn't make a difference. I'm out of ideas for now :D
Just leaving this here for future reference :P https://github.com/facebook/jest/pull/13195/files