go to node-modules/final-form/dist/index.d.ts and make some change
yarn patch-package final-form
yarn run v1.22.4
$ /node_modules/.bin/patch-package final-form
patch-package 6.4.7
• Creating temporary folder
• Installing final-form@4.20.6 with yarn
• Diffing your files with clean files
⁉️ Not creating patch file for package 'final-form'
⁉️ There don't appear to be any changes.
error Command failed with exit code 1.
~Same with jest-mock, node_modules\jest-mock\build\index.d.ts file "There don't appear to be any changes."~
nevermind, I was changing file in the wrong folder :)
go to
node-modules/final-form/dist/index.d.ts
and make some change