Closed
Description
TS Handbook:
The 'any' type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type-checking during compilation.
Though when I want to opt-out I often have to cast using <any>
which isn't very readable (e.g. (<any>window).myProperty
).
Is there a better way to opt-out of type checking?