When do errors in .d.ts files affect consumers?

30 views Asked by At

If a TS file consumes a .d.ts file that contains errors, sometimes the consumer cannot build because of these errors. Other times, TS silently converts the problematic types to any.

What are the rules for when TS chooses to report these errors? I haven't found any pattern.

0

There are 0 answers