Would like an explanation on the @Input decorator in Angular

Viewed 12

I'm learning Angular and in the tutorial I've been working with, there is this line of code:

@Input() product!: Product;

I'm wondering what the ! means in this context. Thanks in advance to all who respond.

0 Answers
Related