([targets]: [TypedSelection[]])
| 16 | } |
| 17 | |
| 18 | async run([targets]: [TypedSelection[]]): Promise<ActionReturnValue> { |
| 19 | const editor = ensureSingleEditor(targets); |
| 20 | |
| 21 | const { thatMark } = await this.graph.actions.remove.run([targets]); |
| 22 | |
| 23 | if (thatMark != null) { |
| 24 | await setSelectionsAndFocusEditor( |
| 25 | editor, |
| 26 | thatMark.map(({ selection }) => selection) |
| 27 | ); |
| 28 | } |
| 29 | |
| 30 | return { thatMark }; |
| 31 | } |
| 32 | } |
nothing calls this directly
no test coverage detected