Browse Source

fix: change GuideMatched type to export for better accessibility

pull/6471/head
Carlos 2 years ago
parent
commit
39ca32b737
  1. 4
      packages/core/src/commands/view/ComponentDrag.ts

4
packages/core/src/commands/view/ComponentDrag.ts

@ -9,8 +9,6 @@ import type ComponentView from '../../dom_components/view/ComponentView';
const evName = 'dmode'; const evName = 'dmode';
// TODO: check setZoom, setCoords
export default { export default {
run(editor, _sender, opts = {} as ComponentDragOpts) { run(editor, _sender, opts = {} as ComponentDragOpts) {
bindAll( bindAll(
@ -719,7 +717,7 @@ type Guide = {
/** /**
* Represents a matched guide during component dragging. * Represents a matched guide during component dragging.
*/ */
type GuideMatched = { export type GuideMatched = {
/** /**
* The static guides used for matching. * The static guides used for matching.
*/ */

Loading…
Cancel
Save