We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@Component({ selector: 'hello' }) class HelloComponent {}
@Component({ /* ... */ }) class HelloComponent { @Output() foo = new EventEmitter();` }
@Component({ /* ... */ }) class HelloComponent { @Input() bar; }
class Hello { constructor(foo: Foo, bar: Bar) { this.foo = foo; this.bar = bar; } }
Notice: Generic types are ignored as same as in TypeScript e.g. QueryList is treated as QueryList
class MyClass { myProp = 42; constructor() { console.log(this.myProp); // Prints '42' } }
class MyClass { static myStaticProp = 42; constructor() { console.log(MyClass.myStaticProp); // Prints '42' } }