We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think the type definition for the clone function should be changed from
export default function clone(color: Color): Color;
to
export default function clone(color: ColorObject): ColorObject;
The clone method doesn't copy the spaceId property so ColorObject isn't 100% technically correct but it's more correct than Color.
I would have created a PR but I couldn't figure out how to get the type tests to run.
The text was updated successfully, but these errors were encountered:
This was fixed in #291.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I think the type definition for the clone function should be changed from
to
The clone method doesn't copy the spaceId property so ColorObject isn't 100% technically correct but it's more correct than Color.
I would have created a PR but I couldn't figure out how to get the type tests to run.
The text was updated successfully, but these errors were encountered: