Fixing `noImplicitAny` Errors
This lesson discusses techniques of addressing compilation errors caused by enabling `noImplicitAny`.
We'll cover the following...
We'll cover the following...
Explicit any annotation
The simplest way to fix errors caused by enabling noImplicitAny is simply explicitly marking the type as any. How is this better than skipping the type annotation altogether? It’s still unsafe, right?
Correct; but with explicit annotations, it’s much easier to spot these occurrences (for example, ...