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

gents does not convert rest parameters correctly #731

Open
rkirov opened this issue Apr 25, 2018 · 0 comments
Open

gents does not convert rest parameters correctly #731

rkirov opened this issue Apr 25, 2018 · 0 comments
Labels

Comments

@rkirov
Copy link
Contributor

rkirov commented Apr 25, 2018

The following pattern:

/**
 * @param {...string|Array<string>} args
 */
function (...args) { ... }

got translated to

function(...args) {...}

without any type annotations, which triggered 'noImplicitAny' errors.

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

No branches or pull requests

1 participant