Index

Type aliases

Variables

Type aliases

ArgumentsType

ArgumentsType<T>: T extends (elem: any, ...args: infer U) => any ? U : never

Type parameters

  • T

cmdsType

Variables

Const EditorCmds

EditorCmds: = new Proxy(_EditorCmds as any, {get(target, property) {if (target[property]) {return (...args) => messageActiveTab("editorfn_content", property as string, args)}return target[property]}}) as { [k in keyof cmdsType]: (...args: ArgumentsType<cmdsType[k]>) => Promise<ReturnType<cmdsType[k]>> }

Type declaration