I was looking into upgrading the tsd version in my node project from 0.6.5 version to the latest 0.13.1. I have a tsd.json defined which is used when I run tsd reinstall. This used to work for version 0.6.5, however, with the new 0.13.1 version, the tsd reinstall fails with the message:
"The type definition index.d.ts
does not exist. Create one and try again".
We never had any index.d.ts file defined earlier when it used to work with version 0.6.5.
Can someone please help with the following:
- Why do we need the index.d.ts file?
- What should be the content of this file?
Any help is appreciated.
NOTE: I know that tsd is deprecated to use npm @types, but I am hoping to continue using tsd for now.