From 8bc2629c627f9ade7ed0cb707dbd94de9348e128 Mon Sep 17 00:00:00 2001 From: Liang Gong Date: Mon, 25 Sep 2023 07:33:02 -0700 Subject: [PATCH] fix(core): fix type error --- packages/e2e/src/E2EInteractionManager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/e2e/src/E2EInteractionManager.ts b/packages/e2e/src/E2EInteractionManager.ts index 1941ac756..b74a7da13 100644 --- a/packages/e2e/src/E2EInteractionManager.ts +++ b/packages/e2e/src/E2EInteractionManager.ts @@ -421,11 +421,11 @@ export default class E2EInteractionManager { checkLastSnapshotChunk(lastChunk); session.removeListener( 'HeapProfiler.addHeapSnapshotChunk', - dataHandler as AnyValue, + dataHandler, ); session.removeListener( 'HeapProfiler.reportHeapSnapshotProgress', - progressHandler, + progressHandler as AnyValue, ); writeStream.end(); }