diff --git a/types/imagemin/index.d.ts b/types/imagemin/index.d.ts index d6bfb67e13af08..6dbe08613013cd 100644 --- a/types/imagemin/index.d.ts +++ b/types/imagemin/index.d.ts @@ -12,7 +12,7 @@ declare namespace imagemin { function buffer(input: Buffer, options?: BufferOptions): Promise; } -export type Plugin = (input: Buffer) => Promise; +export type Plugin = (input: Uint8Array) => Promise; export interface Options { destination?: string | undefined; diff --git a/types/imagemin/package.json b/types/imagemin/package.json index b5d697d8c0e385..9269b0477fc5bd 100644 --- a/types/imagemin/package.json +++ b/types/imagemin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/imagemin", - "version": "8.0.9999", + "version": "9.0.9999", "projects": [ "https://github.com/imagemin/imagemin#readme" ],