Skip to content

Add support for numeric direction option #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 25, 2025
Merged

Conversation

11bit
Copy link
Collaborator

@11bit 11bit commented Apr 17, 2025

Closes #12

@11bit 11bit requested a review from Copilot April 17, 2025 12:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

tests/optionsBasic/gradient.test.ts:75

  • The error message currently only mentions a string type, but the PR now allows a number as a valid value. Consider updating the error message to indicate that the allowed types are a string or a number, such as 'gradient.direction must be a string or a number'.
        ).toThrow("gradient.direction is not a string");

@11bit 11bit merged commit 3179557 into main Apr 25, 2025
1 check passed
@11bit 11bit deleted the feat/add-angle-gradient branch April 25, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Usage docs of imgproxy have been updated
1 participant