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
Right now, the view option is typed as string, which provides no autocomplete:
folder.addBlade({view: '',// no autocomplete})
I think a union of string literals would be awesome to have here. This would make it easy to see what the available views are without having to surf the docs every time.
Right now, the
view
option is typed asstring
, which provides no autocomplete:I think a union of string literals would be awesome to have here. This would make it easy to see what the available views are without having to surf the docs every time.
If it was instead typed like this:
The
({} & string)
would allow any string value, but the type would preserve the intellisense for autocomplete!I think this could also be used to infer the type of the binding returned using conditional types internally... but that is another issue altogether 😇
The text was updated successfully, but these errors were encountered: