a.js(1,5): error TS1047: A rest parameter cannot be optional.
a.js(3,12): error TS2370: A rest parameter must be of an array type.
a.js(11,21): error TS1005: '}' expected.


==== a.js (3 errors) ====
    /** @param {...*=} args
        ~~~~~~~~~~~~~~~~~~~
        @return {*=} */
    ~~~~
!!! error TS1047: A rest parameter cannot be optional.
    function f(...args) {
               ~~~~~~~
!!! error TS2370: A rest parameter must be of an array type.
        return null
    }
    
    /** @type *= */
    var x;
    
    
    /** @param {function():*=} f */
                        ~
!!! error TS1005: '}' expected.
    function cbf(f) {
    }
    