UNPKG

@joshfarrant/shortcuts-js

Version:
21 lines (20 loc) 494 B
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction'; /** * @action Comment * @section Actions > Scripting > * @icon Text * * This action lets you explain how part of a shortcut works. When run, this action does nothing. * * ```js * // Create a comment * comment({ * text: 'A very important comment', * }); * ``` */ declare const comment: ({ text, }: { /** The body of the comment */ text?: string | undefined; }) => WFWorkflowAction; export default comment;