Skip to content

Commit

Permalink
made precision optional in types
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosc90 committed Jul 18, 2024
1 parent a89de79 commit daeb44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ declare namespace sharp {
/** A value between 0.3 and 1000 representing the sigma of the Gaussian mask, where `sigma = 1 + radius / 2` */
sigma: number;
/** How accurate the operation should be, one of: integer, float, approximate. (optional, default "integer") */
precision: Precision | undefined;
precision?: Precision | undefined;
}

interface FlattenOptions {
Expand Down

0 comments on commit daeb44d

Please sign in to comment.