Open trotyl opened 5 years ago
import { Migration } from 'ng-renderable' import { Calendar } from 'some-lib' @Directive({ selector: 'my-calendar', }) class CalendarComponent extends Migration<Calendar> { @Input() set date(value: Date) { this.update({ value }) } @Output() dateChange = this.observe(props => props.onChange) constructor(injector: Injector) { super(injector, Calendar) } }
Note: to remain compatible with closure-compiler, string literals cannot be used.
API Design
Note: to remain compatible with closure-compiler, string literals cannot be used.