Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, the TypeScript compiler offers the --noImplicitAny option, which prevents the use of let x; statements without a type annotation or initializer. When this option is enabled, the compiler will raise an error if a variable is declared without an explicit type or an initializer.