diff --git a/JSDoc-support-in-JavaScript.md b/JSDoc-support-in-JavaScript.md index c557d00..73c585a 100644 --- a/JSDoc-support-in-JavaScript.md +++ b/JSDoc-support-in-JavaScript.md @@ -135,6 +135,14 @@ let myArrow = x => x * x; var sfc = (test) =>
{test.a.charAt(0)}
; +/** + * 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 ===