TypeScript cleanup

This commit is contained in:
2018-04-02 07:34:16 +02:00
parent 3f86a970f0
commit 88296da8be
44 changed files with 135 additions and 133 deletions

View File

@ -0,0 +1,3 @@
export function canUseWebP(): boolean {
return document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp") === 0
}