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

Propagate rest (aka ...) params into types #69

Closed
evmar opened this issue Feb 18, 2016 · 0 comments
Closed

Propagate rest (aka ...) params into types #69

evmar opened this issue Feb 18, 2016 · 0 comments

Comments

@evmar
Copy link
Contributor

evmar commented Feb 18, 2016

Even in untyped mode, a function like

function foo(...args: string[]) 

becomes

/**
 * @param { ?} args
 * @return { ?}
 */
function foo(...args: string[]) 

which Closure doesn't accept: "WARNING - Missing "..." in type annotation for rest parameter."

@evmar evmar changed the title Need to propagate rest params into types Propagate rest (aka ...) params into types Feb 25, 2016
@evmar evmar closed this as completed in 29c72a6 Mar 18, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant