There are several questions about disabling errors in mistyped node_modules
(e.g., this one, or this one), but they all involve using the skipLibCheck
compiler flag.
Are there other solutions to this problem (e.g., using include
or exclude
)? I have a couple of hand-written .d.ts
files (stricter types than available on DefinitelyTyped) that I'd like to type check, so the wholesale disabling of typechecking on these files is not appealing.