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
No, this would require a compiler to translate your TypeScript type into run-time code. TypeScript types do not exist at runtime and are removed before the transpiled JavaScript code is executed. However, you can retrieve the TypeScript type from the runtime code. Here is an example:
The problems lies in the package that generates this list in the first place, as it doesn't generate the array of strings, but just the unit type instead.
Is there a way to make use of a unit type instead of having to re-type it out as a picklist?
instead of having to do
The text was updated successfully, but these errors were encountered: