From a201ae724d877c3a5743bd8c5cadd923b854bae8 Mon Sep 17 00:00:00 2001 From: Valentin Demeusy Date: Fri, 13 Sep 2024 15:33:07 +0200 Subject: [PATCH] Fix return type of getPixels --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 40d86bd0..0f4853ae 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -175,7 +175,7 @@ export class Kernel { texture: Texture; mappedTextures?: Texture[]; TextureConstructor: typeof Texture; - getPixels(flip?: boolean): Uint8ClampedArray[]; + getPixels(flip?: boolean): Uint8ClampedArray; getVariablePrecisionString(textureSize?: number[], tactic?: Tactic, isInt?: boolean): string; prependString(value: string): void; hasPrependString(value: string): boolean;