runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
317 stars 36 forks source link

Allow the `any` type to bind to security sensitive properties #276

Closed bicknellr closed 1 year ago

bicknellr commented 1 year ago

From the CL description:

Note that this is not security sensitive code. The actual security boundary is at runtime. This is just the type checker assisting the developer, predicting what the runtime enforcement will allow/reject.

Allowing any here aligns with TypeScript's general type checking principles, where you're allowed to do just about anything you want with an any typed value.

This upstreams http://cl/354348347.