-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Description
TypeScript Version: 2.2.1 / nightly (2.2.0-dev.201xxxxx)
Code
Is there an option to autogenerate types in JSDoc for any function ?
For instance given
function f(x:number):number { return x+1; }
/**
* @param x Something
*/
function g(x:number):number { return x+1; }I would get output of:
/**
* @param x {number}
*/
function f(x:number):number { return x+1; }
/**
* @param x {number} Something
*/
function g(x:number):number { return x+1; }It helps debugging JS code.
Metadata
Metadata
Assignees
Labels
No labels