10 lines
276 B
TypeScript
10 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;
|
||
|
}
|
||
|
}
|