9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
import type SlTreeItem from '../components/tree-item/tree-item.js';
|
|
export type SlSelectionChangeEvent = CustomEvent<{
|
|
selection: SlTreeItem[];
|
|
}>;
|
|
declare global {
|
|
interface GlobalEventHandlersEventMap {
|
|
'sl-selection-change': SlSelectionChangeEvent;
|
|
}
|
|
}
|