Skip to content
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

Remove formatting changes from PR #540 #541

Conversation

DmitrySharabin
Copy link
Contributor

It's a branch of the corresponding PR. Its primary purpose is to facilitate reviewing the actual changes in #540.

Copy link

netlify bot commented Jun 7, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit c451921
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/66632006627bc9000849338a
😎 Deploy Preview https://deploy-preview-541--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.

@MysteryBlokHed
Copy link
Member

Should the target branch for this be types/migrate-to-jsdoc? Right now it’s set to merge into main.

@DmitrySharabin DmitrySharabin changed the base branch from main to types/migrate-to-jsdoc June 7, 2024 15:53
@DmitrySharabin
Copy link
Contributor Author

Should the target branch for this be types/migrate-to-jsdoc? Right now it’s set to merge into main.

It definitely should. Thank you for pointing this out! Fixed.

Copy link
Member

@MysteryBlokHed MysteryBlokHed left a comment

Choose a reason for hiding this comment

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

LGTM at a glance

@LeaVerou LeaVerou merged commit 78b1db7 into color-js:types/migrate-to-jsdoc Jun 8, 2024
4 of 5 checks passed
LeaVerou pushed a commit that referenced this pull request Jun 10, 2024
* style: npm run lint

* feat: Initial conversion to JSDoc types

* style: Fix accidental formatting changes

* feat: Remove old `.d.ts` files

* feat: Point `build:space-accessors` script to new location

* feat: Add JSDoc types for contrast methods

* feat: Add JSDoc types for deltaE

* fix: Remove garbage from tsconfig.json

* fix: Add DOM to tsconfig.json `lib`

* feat: Re-export types from `contrast` and `deltaE`

* feat: Point config files away from old `.d.ts`

* feat(types): Add some JSDoc to spaces

Since spaces use classes, most of the typing doesn't need to be done
explicitly; JSDoc was just added to other exported functions of some
spaces.

* docs: Add `@packageDocumentation` from removed `.d.ts`

* fix: Type error in util.js

* feat(types): Document remaining exported space members

* feat: Update `Format` and `Type` classes

* docs: Include `types.d.ts` as entrypoint

* docs: Add `@internal` note to Format symbol

* fix: Leftover merge conflict stuff

I have no idea how I let this through!

* fix: Typo in ColorSpace.d.ts

Co-authored-by: Dmitry Sharabin <dmitrysharabin@gmail.com>

* Fix dtslint

* Swap allowJs/checkJs

* Remove formatting changes from PR #540 (#541)

* [CATs.js] Remove the formatting changes

* Update ColorSpace.js

* Update RGBColorSpace.js

* Update adapt.js

* Update chromaticity.js

* Update color.js

* Update contrast.js

* Update deltaE.js

* Update display.js

* Update distance.js

* fix: Typo in ColorSpace.d.ts

Co-authored-by: Dmitry Sharabin <dmitrysharabin@gmail.com>

* Update equals.js

* Update get.js

* Update inGamut.js

* Update interpolation.js

* Update multiply-matrices.js

* Update parse.js

* Update cam16.js

* Update to.js

* Update variations.js

* Update serialize.js

* Update set.js

* Update setAll.js

* Update toGamut.js

* Update util.js

---------

Co-authored-by: Adam Thompson-Sharpe <adamthompsonsharpe@gmail.com>

* style: Undo formatting change in ColorSpace.js

---------

Co-authored-by: Dmitry Sharabin <dmitrysharabin@gmail.com>
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
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