fix: lint

This commit is contained in:
crazywoola 2024-10-24 17:25:30 +08:00
parent 181572e330
commit dddd72ec83
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
export const createImage = (url: string) =>
const createImage = (url: string) =>
new Promise<HTMLImageElement>((resolve, reject) => {
const image = new Image()
image.addEventListener('load', () => resolve(image))