Hello,
I have TypeScript class with some properties, for example

export class Recipe {
  constructor(public  name){

  }
}


I'm using this class in html template like this:

<h4 class="list-group-item-heading">{{recipe.name}} & 
{{recipe.nameNotExist}}</h4>


As you can see I'm using nameNotExists field in template.

I'd like to get compiler warning or error when this situation have place, when 
I'm refering in templates to non existance objects.

I'm using ng-cli and webpack to preparing application - ng build -prod


Is it possible?


Best regards

Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to