Say, I want to use date-fns in my typescript project. Usually, I grab the typings of such a library by installing it's type definitions:
npm install @types/date-fns --save-dev
date-fns provides its own type definitions, so you don't need @types/date-fns installed!
However, how do I integrate those typing files then into my project?
When the project ships with type definitions you don't need to install
@types. The project should work out of the box with TypeScript.