error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
  Use 'outFile' instead.


!!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
!!! error TS5101:   Use 'outFile' instead.
==== tests/cases/compiler/jsDocOptionality.js (0 errors) ====
    function MyClass() {
      this.prop = null;
    }
    /**
     * @param  {string} required
     * @param  {string} [notRequired]
     * @returns {MyClass}
     */
    MyClass.prototype.optionalParam = function(required, notRequired) {
        return this;
    };
    let pInst = new MyClass();
    let c1 = pInst.optionalParam('hello')
    let c2 = pInst.optionalParam('hello', null)
    