snapshot-diff icon indicating copy to clipboard operation
snapshot-diff copied to clipboard

chore: migrate to typescript

Open SimenB opened this issue 3 years ago • 2 comments

Why not 😀

I have no idea if the global types still work. They should.

SimenB avatar Aug 16 '22 12:08 SimenB

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

thymikee avatar Aug 29 '22 20:08 thymikee

Just leaving this here for future reference :P https://github.com/facebook/jest/pull/13195/files

thymikee avatar Aug 31 '22 11:08 thymikee