DevExtreme
DevExtreme copied to clipboard
Publish dxDiagram types, arrange "commands" props types (T1227506)
- all enums / unions:
@public+@namespace DevExpress.ui.dxDiagram(with thedxDiagramscope - to avoid naming conflicts in a bundle similar to the other components, but we may keepDevExpress.uionly, because all these types start withDiagram) - dxDiagramCustomCommand:
@public(@namespace DevExpress.uialready exists - no thedxDiagramscope - the type name already starts withdxDiagram, i.e., an unique / component-basis prefix)
All published types become available in framework packages re-exports
- all props, which can be of both types
Array<dxDiagramCustomCommand>|Array<Enums.DiagramCommand>- now have this type in d.ts (Array<dxDiagramCustomCommand | DiagramCommand>) without doc tag override (note that in react we cannot add a real enum / union type import, but use indi acc values instead, otherwise - BC) - correct demos, where affected props refer to input values with
as any