Files
send-mail/node_modules/@actions/core/lib/utils.d.ts

15 lines
647 B
TypeScript
Raw Normal View History

import { AnnotationProperties } from './core.js';
import { CommandProperties } from './command.js';
2020-11-12 16:30:46 +01:00
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
export declare function toCommandValue(input: any): string;
2022-10-21 16:52:45 +02:00
/**
*
* @param annotationProperties
* @returns The command properties to send with the actual annotation command
* See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
*/
export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties;