this post was submitted on 13 Nov 2023
3 points (71.4% liked)
Angular
399 readers
2 users here now
A community for discussion about angular
Wormhole
Logo base by Angular under CC BY 4.0 with modifications to add a gradient and drop shadow
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Shouldn’t the @Input be of type SchedulerEvent[]? I don’t see where to get the transformed data otherwise
When you are developing a UI library (as we are) we want to support the old API for some time and mark is a
deprecated. So one would add a second@Input()of typeScheduleEvent[]leave the old API be asCourse[]and mark it as deprecated. In the next major version you could then retire the old API.I see, thanks