I am using TypeScript with the "noImplicitAny": true
option set in my tsconfig.json
.
I am using typings
to manage type definition files and am including them using a reference path directive in the entry point of my app:
/// <reference path="./typings/index.d.ts" />
The problem is that some of the definition files rely on implicit any, so now I get a lot of compile errors from .d.ts
files.
Is there a way to disable/silence these errors, for example based on the path or the file type?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…