Skip to content

Conversation

@lloydk
Copy link
Collaborator

@lloydk lloydk commented Jun 27, 2024

Fixes the remaining type test failures. 🤞

lloydk added 4 commits June 26, 2024 17:08
The default value of the `o` parameter was causing the generated
type files to declare the `o` parameter as optional. This was
causing a failure in the contrast type tests.

Added additional tests for the contrast algorithms and functions
on the Color class.
@netlify
Copy link

netlify bot commented Jun 27, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit 3dab629
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/667d01629bec590008164246
😎 Deploy Preview https://deploy-preview-569--colorjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jgerigmeyer
Copy link
Member

These changes look good, but CI is still reporting a number of type test errors. Is that expected?

@MysteryBlokHed
Copy link
Member

Would you mind checking whether the errors are from the tests, or the codebase itself? I'm on mobile right now, so I can't.

@MysteryBlokHed MysteryBlokHed merged commit 184363a into color-js:main Jun 27, 2024
@jgerigmeyer
Copy link
Member

The errors are from dtslint -- likely related to: #571 (comment)

@lloydk lloydk deleted the fix-types3 branch January 4, 2025 06:05
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.

3 participants