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

Make meta property optional #76

Closed
wants to merge 2 commits into from
Closed

Make meta property optional #76

wants to merge 2 commits into from

Conversation

chrisjarman
Copy link

This PR corrects the interface definition for FluxStandardAction, making the meta property optional.

Chris Hunt added 2 commits September 4, 2017 13:53
Update to v2.0.0 after potentially-breaking change to type definitions
@chrisjarman
Copy link
Author

Ah, sorry, I now see that this has been addressed before. I'll respectfully leave the PR open, because I think the interface definition for an "optional" property (as spec'ed in the docs) should allow the total omission of the property, if the user so desires. Forcing the presence of a property whose value is undefined or null is over-opinionated, in my book. YMMV.

@JaKXz
Copy link
Contributor

JaKXz commented Nov 3, 2017

@linguamachina thank you for the PR. What do you think of the discussion in #53? To me it seems this question has a lot of back and forth... I'm not a daily TS user so I'm not sure what the best course going forward is.

@JaKXz
Copy link
Contributor

JaKXz commented Dec 2, 2017

Closing in favour of #94.

@JaKXz JaKXz closed this Dec 2, 2017
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