From c4bc369c6b6479667b1b75f32ec6b4347df62c12 Mon Sep 17 00:00:00 2001 From: ergunsh Date: Fri, 3 Sep 2021 15:03:28 +0300 Subject: [PATCH] Fix typo in `triangle` --- libsquoosh/src/codecs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsquoosh/src/codecs.ts b/libsquoosh/src/codecs.ts index ca905f9b..0517f217 100644 --- a/libsquoosh/src/codecs.ts +++ b/libsquoosh/src/codecs.ts @@ -32,7 +32,7 @@ interface ResizeWithAspectParams { export interface ResizeOptions { width: number; height: number; - method: 'triange' | 'catrom' | 'mitchell' | 'lanczos3'; + method: 'triangle' | 'catrom' | 'mitchell' | 'lanczos3'; premultiply: boolean; linearRGB: boolean; }