import { CommandRuntime, CommandDeclaration } from '@joplin/lib/services/CommandService'; export const declaration: CommandDeclaration = { name: 'showRevisions', }; export const runtime = (comp: any): CommandRuntime => { return { execute: async () => { comp.setShowRevisions(true); }, }; };