Fixed a few more linter errors

This commit is contained in:
2019-11-17 18:44:30 +09:00
parent 878f1913e3
commit 7e25ee6faf
48 changed files with 69 additions and 59 deletions

View File

@ -6,4 +6,4 @@ export async function supportsWebP(): Promise<boolean> {
const data = "data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="
const blob = await fetch(data).then(r => r.blob())
return createImageBitmap(blob).then(() => true, () => false)
}
}