I am currently working on a project that relies on packages such as @types/express
and @types/body-parser
. The problem is, the recent updates to these .d.ts
files have introduced generic defaults, which now require TypeScript 2.3 or higher.
Unfortunately, my project is still using an older version of TypeScript - specifically, TypeScript 2.2. Is there a way to use npm in order to ensure that my project can still interpret these definition files without having to upgrade?