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

[pull] master from nglviewer:master #75

Merged
merged 5 commits into from
Jan 11, 2024
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 11, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Previous implementation of Colormaker was probably relying
on JS prototypal inheritance.
Colormaker cannot be called like a function anymore.

(cherry picked from commit 0899733)
One type of argument was missing, as `scheme` can have 2 shapes (either a class derived from Colormaker or a function that redefines the Colormaker prototype on a derived class).
It was necessary to add type predicates to correctly infer the type of `scheme` within the addScheme method.
@pull pull bot added the ⤵️ pull label Jan 11, 2024
@pull pull bot merged commit d242234 into bgruening:master Jan 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant