mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
fix: type issues
This commit is contained in:
1 parent
7dd3913ae8
commit
abcb75f06e
4 files changed
+5
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import jsxToSvg from './jsxToSvg.js';
|
||||
import svgToPng from './svgToPng.js';
|
||||
|
||||
export default async function jsxToPng(jsx: JSX.Element) {
|
||||
const svg = await jsxToSvg(jsx);
|
||||
const png = svgToPng(svg);
|
||||
|
||||
return png;
|
||||
}
|
||||
Reference in new issue
Block a user