[英]npm typescript override index.d.ts “/// <reference types=”
After calling npm install
I have one index.d.ts
in which the /// <reference types="[WrongPath]"/>
is wrong. 调用
npm install
我有一个index.d.ts
,其中/// <reference types="[WrongPath]"/>
是错误的。
I am new to npm and typescript (and generally web development); 我是npm和Typescript(通常是Web开发)的新手; Is it possible to override the generated index.d.ts file and set the
reference types
to something else? 是否可以覆盖生成的index.d.ts文件并将
reference types
设置为其他reference types
?
So if npm install
is called the correct reference is set? 那么,如果调用
npm install
设置了正确的引用?
我创建了一个作业,该作业将在npm安装后自动运行以替换该行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.