GProst GProst -4 years ago 210
TypeScript Question

WebStorm: Angular template type checking

Is there a way in WebStorm to allow TypeScript type checking for Angular component bindings and other expressions?

I just think it would be great if I could set

properties types in
files and editor would warn me if a particular binding type is wrong in a particular template.

Answer Source

Not at the moment. However there are plans for completely analyzing HTML templates using the TypeScript compiler.


If you want type safe templates give JSX / React a go

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download