Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Make Spring setters consistently return this #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bfrengley
Copy link

Currently, all setters in a Spring return this, other than Spring#setRestDisplacementThreshold which returns undefined. This disallows it from being chained with other setters.

Additionally, Spring#setSpringConfig and Spring#setCurrentValue both return this but are not typed as such.

This pull request resolves both of these issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant