function updateSelection()

in src/figma/services/message_service.ts [10:22]


  function updateSelection(): void {
    const selection = getCurrentSelection();

    figma.ui.postMessage({
      type: FIGMA_MESSAGE_TYPES.UPDATE_SELECTION,
      data: {
        selection: {
          frames: selection.frames,
          components: selection.components,
        },
      },
    });
  }