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

add support for 1..n parameters of the same type #422

Open
twoBirds opened this issue Aug 15, 2016 · 0 comments
Open

add support for 1..n parameters of the same type #422

twoBirds opened this issue Aug 15, 2016 · 0 comments

Comments

@twoBirds
Copy link

Imagine:
.extend( originalObject, otherObject, otherObject ... );
// extends an object with other objects like in:
.extend( {}, { a: 1 }, { b: 2 }, { c: 3 } );
// -> { a: 1 , b: 2 , c: 3 }

I suggest:
@param {object} originalObject
@param {object} otherObject[0..] // zero indicating optional, so its 0...n other objects
@param {object} otherObject[1..3] // 1 to 3 other objects

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

No branches or pull requests

1 participant