Miao-Yunzai/renderers/puppeteer/index.ts

13 lines
425 B
TypeScript
Raw Normal View History

import Puppeteer from './lib/puppeteer.js'
/**
*
* @param config config.yaml的配置内容
* @returns renderer
* @returns renderer.id IDrenderer中选择的id
* @returns renderer.type image
* @returns renderer.render
*/
export default function (config) {
// TODO Puppeteer待简化重构
2023-09-15 08:15:25 +08:00
return new Puppeteer(config)
}