const negociacao = new Negociacao( new Date(this._inputData.val().replace(/-/g, ',')), parseInt(this._inputQuantidade.val()), parseFloat(this._inputValor.val()) );
erro
app/ts/controllers/NegociacaoController.ts(23,44): error TS2339: Property 'replace' does not exist on type 'string | number | string[]'. Property 'replace' does not exist on type 'number'. app/ts/controllers/NegociacaoController.ts(24,22): error TS2345: Argument of type 'string | number | string[]' is not assignable to parameter of type 'string'. Type 'number' is not assignable to type 'string'. app/ts/controllers/NegociacaoController.ts(25,24): error TS2345: Argument of type 'string | number | string[]' is not assignable to parameter of type 'string'. Type 'number' is not assignable to type 'string'. 22:23:48 - Compilation complete. Watching for file changes.