Document jsDoc annotation for a parameter that's a class constructor.

Jan Miksovsky 2017-05-18 10:33:28 -07:00
parent a2c6cbb2d4
commit 9a7c6628be

@ -135,6 +135,14 @@ let myArrow = x => x * x;
var sfc = (test) => <div>{test.a.charAt(0)}</div>;
/**
* A parameter can be a class constructor.
*
* @param {{new(...args: any[]): Object}} C - The class to register
*/
function registerClass(C) {}
// === Below forms are not supported ===