@tarojs/plugin-mini-ci
Version:
Taro 小程序端构建后支持CI(持续集成)的插件
17 lines (16 loc) • 509 B
TypeScript
/**
* 读取出二维码图片中的文本内容
* @param imagePath 图片路径
*/
export declare function readQrcodeImageContent(imagePath: string): Promise<string>;
/**
* 将文本内容转换成二维码输出在控制台上
* @param content
*/
export declare function printQrcode2Terminal(content: string): Promise<void>;
/**
* 生成二维码图片到指定目录
* @param content
* @param path
*/
export declare function generateQrcodeImageFile(path: string, content: string): Promise<void>;