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

fix: add null to Material.shadowSide's type #131

Merged

Conversation

WCWedin
Copy link
Contributor

@WCWedin WCWedin commented Sep 23, 2021

It is currently not possible to work with Material.shadowSide's default value of null, as property's type does not include null.

This commit changes the type of Material.shadowSide from Side to Side | null.

  • Added myself to contributors table
  • Ready to be merged

This change makes it possible to work with Material.shadowSide's default value of null.
Copy link
Member

@joshuaellis joshuaellis left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! ⭐

@joshuaellis joshuaellis merged commit 8bd9702 into three-types:master Oct 3, 2021
@WCWedin WCWedin deleted the fix/correct-shadowside-type branch October 15, 2021 19:07
joshuaellis added a commit that referenced this pull request Nov 6, 2021
* fix: add null to Material.shadowSide's type (#131)

This change makes it possible to work with Material.shadowSide's default value of null.

* feat: Make Raycaster::Intersection, intersectObject generic (#130)

Co-authored-by: Josh <[email protected]>

* fix: remove ParametricGeometries from OTHER_FILES.txt

* chore: update OTHER_FILES

weird this didn't come through earlier.

* chore: update deps

* fix: undefined not needed on ArcballControls

* feat: include default Object3D in Intersection generic type (#138)

* r133 - include default Object3D in intersection generic type

* [yarn] - updated lockfile

Co-authored-by: Dave Buchhofer <[email protected]>

* chore: modify test for generic

* Add resolveURL to LoaderUtils

Co-authored-by: Ibby Wedin <[email protected]>
Co-authored-by: Degubi <[email protected]>
Co-authored-by: Josh <[email protected]>
Co-authored-by: Dave Buchhofer <[email protected]>
Co-authored-by: Dave Buchhofer <[email protected]>
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.

2 participants