Workaround for TypeScript 'outFile' is deprecated errors.

PiperOrigin-RevId: 892241799
Change-Id: Ibe028d453f35f5e03bdf66418bc4b45c20e807d3
This commit is contained in:
Michael Moss
2026-03-31 03:54:25 -07:00
committed by Copybara-Service
parent bcaa0a8e6a
commit 51b2f52296
+6
View File
@@ -62,6 +62,12 @@ setup_emsdk() {
git clone https://github.com/emscripten-core/emsdk.git
./emsdk/emsdk install 4.0.10
./emsdk/emsdk activate 4.0.10
# Force installing emscripten's typescript dependencies. This is a
# workaround for the github update to a newer typescript, which gives an
# error on the deprecated `--outFile` flag.
pushd emsdk/upstream/emscripten
npm i
popd
}