refactor: fix types

This commit is contained in:
syuilo
2023-02-09 11:02:37 +09:00
parent e1e885d6b2
commit 5facd11592
5 changed files with 9 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ export function genIdenticon(seed: string, stream: WriteStream): Promise<void> {
bg.addColorStop(0, bgColors[0]);
bg.addColorStop(1, bgColors[1]);
ctx.fillStyle = bg;
ctx.fillStyle = bg as any;
ctx.beginPath();
ctx.fillRect(0, 0, size, size);