Ao executar o comando "tsc bytebank.ts" indicado pelo instrutor é retornado o erro abaixo. Poderia me orientar na solução, por favor.
PS C:\Users\7383\Documents\formacao-typescript-projeto-curso01-projeto-base\js> tsc bytebank.ts C:\Users\7383\AppData\Roaming\npm\node_modules\typescript\lib_tsc.js:92 for (let i = startIndex ?? 0; i < array.length; i++) { ^
SyntaxError: Unexpected token ? at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (C:\Users\7383\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:8:18) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)