eslint: use semicolon TypeScript delimeter

This commit is contained in:
Alex Gleason
2023-10-02 13:54:02 -05:00
parent 702124fb79
commit 645ce60a5f
479 changed files with 1928 additions and 1938 deletions

View File

@@ -2,8 +2,8 @@
const DEFAULT_MAX_PIXELS = 1920 * 1080;
interface BrowserCanvasQuirks {
'image-orientation-automatic'?: boolean
'canvas-read-unreliable'?: boolean
'image-orientation-automatic'?: boolean;
'canvas-read-unreliable'?: boolean;
}
const _browser_quirks: BrowserCanvasQuirks = {};
@@ -147,11 +147,11 @@ const processImage = (
type = 'image/png',
name = 'resized.png',
} : {
width: number
height: number
orientation: number
type?: string
name?: string
width: number;
height: number;
orientation: number;
type?: string;
name?: string;
},
) => new Promise<File>((resolve, reject) => {
const canvas = document.createElement('canvas');