Check for duplicates
Description
In the ISelectable interface, there is a workspace property that is type Workspace. It should really be of type WorkspaceSvg because it only makes sense in the context of rendered items (e.g. only BlockSvg implements ISelectable, Block doesn't). There are a lot of casts to WorkspaceSvg or unnecessary instanceof checks because of this.
Technically this is a breaking change because developer components could be using ISelectable so we should make this in v13.
Reproduction steps
Stack trace
Screenshots
No response
Browsers
No response
Check for duplicates
Description
In the
ISelectableinterface, there is aworkspaceproperty that is typeWorkspace. It should really be of typeWorkspaceSvgbecause it only makes sense in the context of rendered items (e.g. onlyBlockSvgimplementsISelectable,Blockdoesn't). There are a lot of casts toWorkspaceSvgor unnecessary instanceof checks because of this.Technically this is a breaking change because developer components could be using
ISelectableso we should make this in v13.Reproduction steps
Stack trace
Screenshots
No response
Browsers
No response