tests/cases/conformance/jsdoc/0.js(3,5): error TS2322: Type 'true' is not assignable to type 'string'.
tests/cases/conformance/jsdoc/0.js(6,5): error TS2322: Type '"hello"' is not assignable to type 'number'.
tests/cases/conformance/jsdoc/0.js(10,4): error TS2345: Argument of type '"string"' is not assignable to parameter of type 'number'.
tests/cases/conformance/jsdoc/0.js(13,7): error TS2451: Cannot redeclare block-scoped variable 'x2'.
tests/cases/conformance/jsdoc/0.js(17,1): error TS2322: Type 'number' is not assignable to type 'string'.
tests/cases/conformance/jsdoc/0.js(20,7): error TS2451: Cannot redeclare block-scoped variable 'x2'.


==== tests/cases/conformance/jsdoc/0.js (6 errors) ====
    // @ts-check
    /** @type {String} */
    var S = true;
        ~
!!! error TS2322: Type 'true' is not assignable to type 'string'.
    
    /** @type {number} */
    var n = "hello";
        ~
!!! error TS2322: Type '"hello"' is not assignable to type 'number'.
    
    /** @type {function (number)} */
    const x1 = (a) => a + 1;
    x1("string");
       ~~~~~~~~
!!! error TS2345: Argument of type '"string"' is not assignable to parameter of type 'number'.
    
    /** @type {function (number): number} */
    const x2 = (a) => a + 1;
          ~~
!!! error TS2451: Cannot redeclare block-scoped variable 'x2'.
    
    /** @type {string} */
    var a;
    a = x2(0);
    ~
!!! error TS2322: Type 'number' is not assignable to type 'string'.
    
    /** @type {function (number): number} */
    const x2 = (a) => a.concat("hi");
          ~~
!!! error TS2451: Cannot redeclare block-scoped variable 'x2'.
    x2(0);