mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 10:31:10 +08:00
This is to make const enum in protocol.d.ts works with esbuild in unittest. Without this, const enum usage from protocol.d.ts is not replaced with esbuild. So I need to make protocol.d.ts actual TypeScript file and make it has corresponding JavaScript file with defined enums. I also need to tweak how protocol.js is imported to make build/test pass in both tsc and esbuild with child CL. Bug: 1278663 DISABLE_THIRD_PARTY_CHECK=change generated/ and importing files Change-Id: Ic5f27633c85bbfe8647636beef9b8625f33eabdd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3367593 Reviewed-by: Tim Van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>