Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 404 Bytes

no-unsafe-any.md

File metadata and controls

11 lines (6 loc) · 404 Bytes

Pattern: Unsafe use of any expression

Issue: -

Description

Warns when using an expression of type any in a dynamic way. Uses are only allowed if they would work for {} | null | undefined. Type casts and tests are allowed. Expressions that work on all values (such as "" + x) are allowed.

Further Reading