Skip to content

Conversation

@locks
Copy link
Contributor

@locks locks commented Feb 3, 2017

@bwbuchanan
Copy link

Should @param {String} propertyKey* instead be @param {String} ...propertyKey in these cases? (union, intersect, or, and, etc.)

https://yui.github.io/yuidoc/syntax/#param

@locks locks changed the title Update reduce_computed_macros.js [DOC release] Update reduce_computed_macros.js Feb 7, 2017
@stefanpenner stefanpenner merged commit 5c2edab into master Feb 25, 2017
@stefanpenner stefanpenner deleted the locks-patch-1 branch February 25, 2017 06:22
@perlun
Copy link

perlun commented Oct 3, 2017

Hi @bwbuchanan

Should @param {String} propertyKey* instead be @param {String} ...propertyKey in these cases? (union, intersect, or, and, etc.)

I think you had a point here. The current YUIDoc doesn't really reflect the example; the examples are clear, but the YUIDoc is confusing. 😄

Will you do a PR?

weswigham pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this pull request Oct 9, 2017
This PR adds some of the missing definitions from here: https://www.emberjs.com/api/ember/2.15/namespaces/Ember.computed/methods/union?anchor=union

Note: the documentation there suggests that propertyKey is a single parameter, which is incorrect/unclear per the discussion in emberjs/ember.js#14904. Hence, I added them as ... arguments instead.
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.

5 participants