callbackTagVariadicType.js(3,4): error TS2370: A rest parameter must be of an array type.
callbackTagVariadicType.js(9,13): error TS2345: Argument of type '["a", "b"]' is not assignable to parameter of type 'string'.


==== callbackTagVariadicType.js (2 errors) ====
    /**
     * @callback Foo
     * @param {...string} args
       ~~~~~~~~~~~~~~~~~~~~~~~
     * @returns {number}
    ~~~
!!! error TS2370: A rest parameter must be of an array type.
     */
    
    /** @type {Foo} */
    export const x = () => 1
    var res = x('a', 'b')
                ~~~~~~~~
!!! error TS2345: Argument of type '["a", "b"]' is not assignable to parameter of type 'string'.
    