this post was submitted on 13 Nov 2023
4 points (75.0% liked)
Angular
275 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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