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
Is your feature request related to a problem? Please describe.
Showing a plugin conditionally is already possible with PluginManager.remove() and PluginManager.add().
However, it is even easier to set Plugin.position to a non-existing PluginPosition.
This works, but shows obviously a TypeScript warning TS2339: Property None does not exist on type typeof PluginPosition.
Describe the solution you'd like
To add PluginPosition.None to the Enum would not hurt anyone.
Describe alternatives you've considered
To ts-ignore my assignment line
Additional context
--
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Showing a plugin conditionally is already possible with
PluginManager.remove()
andPluginManager.add()
.However, it is even easier to set
Plugin.position
to a non-existingPluginPosition
.This works, but shows obviously a TypeScript warning
TS2339: Property None does not exist on type typeof PluginPosition
.Describe the solution you'd like
To add
PluginPosition.None
to the Enum would not hurt anyone.Describe alternatives you've considered
To ts-ignore my assignment line
Additional context
--
The text was updated successfully, but these errors were encountered: