@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
21 lines (20 loc) • 494 B
TypeScript
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;