Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#69661 Update imagemin's Plugin to Uint8Arr…
Browse files Browse the repository at this point in the history
…ay instead of Buffer. by @jaccarmac
  • Loading branch information
jaccarmac authored Jun 3, 2024
1 parent aaf94a0 commit d4fd396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/imagemin/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare namespace imagemin {
function buffer(input: Buffer, options?: BufferOptions): Promise<Buffer>;
}

export type Plugin = (input: Buffer) => Promise<Buffer>;
export type Plugin = (input: Uint8Array) => Promise<Uint8Array>;

export interface Options {
destination?: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion types/imagemin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/imagemin",
"version": "8.0.9999",
"version": "9.0.9999",
"projects": [
"https://github.com/imagemin/imagemin#readme"
],
Expand Down

0 comments on commit d4fd396

Please sign in to comment.