After running npm install
, I noticed that the index.d.ts
file contains a reference to the wrong path:
/// <reference types="[WrongPath]"/>
.
As someone new to npm, TypeScript, and web development in general, I'm wondering if it's possible to override the content of the generated index.d.ts file and update the reference types
to something else?
Is there a way to ensure that when npm install
is invoked, the correct reference will be set in the index.d.ts file?