diff --git a/packages/connect/e2e/test-yarn-install.sh b/packages/connect/e2e/test-yarn-install.sh index da73eb50c2f..ff8cc09716e 100755 --- a/packages/connect/e2e/test-yarn-install.sh +++ b/packages/connect/e2e/test-yarn-install.sh @@ -21,5 +21,6 @@ yarn add @trezor/connect@"$1" echo import TrezorConnect from \"@trezor/connect\" >index.ts # compile with typescript -yarn add typescript@5.5.4 -yarn tsc ./index.ts --types node,w3c-web-usb --esModuleInterop +yarn add typescript@latest +yarn tsc ./index.ts --types node,w3c-web-usb --esModuleInterop -target ES2022 --module commonjs +