Support for multiple signature (find a sponsor?)
Hi @marijnh,
Today ternjs is very great, but the only thing is missing is the support for multiple signature. For example for node server.listen, there are 3 signatures:
https://nodejs.org/api/http.html#http_server_listen_handle_callback
server.listen(handle[, callback])
https://nodejs.org/api/http.html#http_server_listen_path_callback
server.listen(path[, callback])
https://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback
server.listen(port[, hostname][, backlog][, callback])
I know that you wish not to support it, but :
- TypeScript support it.
- I could fix https://github.com/angelozerr/tern-node-extension/issues/1 without extra code
I have more and more issues about this problem of multiple signature, so I tell me if we could find a sponsor in order to that you implement multiple signature. It should be really fantastic.
Regard's Angelo
Same issue than https://github.com/ternjs/tern/issues/574
We're in the same situation and would like to see this improved. I can see that the current architecture does not easily support this in all cases (having only one aval per parameter based on parameter index and no way easy way to distinguish multiple different functions with the same name), so I would also like to hear your estimate on how much work this would be. Sponsoring is an option for us, but of course this depends on the estimate and thus price.