Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 342 Bytes

contextual-decorator.md

File metadata and controls

11 lines (6 loc) · 342 Bytes

Pattern: Use of non-contextual decorator

Issue: -

Description

Some decorators should only be used in certain class types. For example, the decorator @Input() should not be used in a class decorated with @Injectable().

Further Reading