You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceHuman{name: string;}
@Component({// $any() nullifies the compile-time benefits of the type system.template: '<p>Hello {{ $any(human).age }}</p>'})exportclassAppComponent{human: Human={name: 'Human'};// human has no field age, so the template should not compile}
A rule to disallow the
$any(...)
usage:Similar to https://palantir.github.io/tslint/rules/no-any/
The text was updated successfully, but these errors were encountered: