ui: Fix build error
Change-Id: Ibd80894b67d1b58f1221a96e6cfa9cfcb13d8526
diff --git a/ui/src/controller/trace_controller.ts b/ui/src/controller/trace_controller.ts
index 7c9766c..445bd4a 100644
--- a/ui/src/controller/trace_controller.ts
+++ b/ui/src/controller/trace_controller.ts
@@ -1145,7 +1145,7 @@
return HighPrecisionTimeSpan.fromTime(visibleStart, visibleEnd);
}
-async function getTraceTimeDetails(engine: Engine): Promise<TraceTime> {
+async function getTraceTimeDetails(engine: EngineBase): Promise<TraceTime> {
const traceTime = await engine.getTraceTimeBounds();
// Find the first REALTIME or REALTIME_COARSE clock snapshot.