-
weekdays: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"] Is it possible to achieve following definition using above list? #Weekday: string & ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday") |
Beta Was this translation helpful? Give feedback.
Answered by
verdverm
Oct 2, 2023
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use
or
as I did in my example