fix: type issues

This commit is contained in:
TresAbhi committed 2023-06-27 01:48:26 +00:00
1 parent 7dd3913ae8
commit abcb75f06e
4 files changed
+5 -5

No files matched your search

@@ -1,7 +1,7 @@
import jsxToSvg from './jsxToSvg.js';
import svgToPng from './svgToPng.js';
export default async function render(jsx: JSX.Element) {
export default async function jsxToPng(jsx: JSX.Element) {
const svg = await jsxToSvg(jsx);
const png = svgToPng(svg);