fix: lint
This commit is contained in:
parent
181572e330
commit
dddd72ec83
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user