[TS] Merge the "number" type into PriorityString #12218
Labels
domain:ts
squad:core
Issue to be handled by the Core team.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
Followup of: #11708
Part of: #12027
Right now we define a type of e.g.
on()
'soptions.priority
param asPriorityString | number
.For me, the number is part of
PriorityString
. Everywhere where we expect the priority, we also allow a number version of it.So, the proposal is to:
number
toPriorityString
to simplify its use.The text was updated successfully, but these errors were encountered: