You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if we still wanna do this since we already use these enums in other dependent projects. Plus enum has the benefit of having autocomplete..
Currently for most of Vega's string enums, we use
string;
as a type.However, TS now supports string literals.
Therefore, we should go through our schema and replace string with string literals where applicable.
For example, Scale's
type
could become"linear" | "ordinal" | ...
instead ofstring
(Simply copy full list from Vega!)The text was updated successfully, but these errors were encountered: