FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Tree select event detail type mismatch · Issue #649 · vscode-elements/elements · GitHub

Repository navigation

Tree select event detail type mismatch #649

Description

In src/vscode-tree/vscode-tree.ts the select event detail is declared as a structured object

export type VscTreeSelectEvent = CustomEvent<{selectedItems: VscodeTreeItem[]}>;

but the actual event detail is filled with just an array

private _emitSelectEvent() {
const ev = new CustomEvent('vsc-tree-select', {
detail: Array.from(this._treeContextState.selectedItems),
});
this.dispatchEvent(ev);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL