this type param pattern allows us to infer literal type values from the array without using the as const suffix
as const
this type param pattern allows us to infer literal type values from the array without using the
as const
suffix