mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			315 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			315 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import type { MenuCommandItem } from "../menus/context_menu.js";
 | 
						|
import type { CommandNames } from "./app_context.js";
 | 
						|
 | 
						|
type ListenerReturnType = void | Promise<void>;
 | 
						|
 | 
						|
export interface SelectMenuItemEventListener<T extends CommandNames> {
 | 
						|
    selectMenuItemHandler(item: MenuCommandItem<T>): ListenerReturnType;
 | 
						|
}
 |