You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @ts-expect-error - TS2339 - Property '_doAddPage' does not exist on type 'Recorder'. | TS2339 - Property '_cachePageInfo' does not exist on type 'Recorder'.
373
373
awaitthis._doAddPage(this._cachePageInfo);
374
374
// @ts-expect-error - TS2339 - Property '_cachePageInfo' does not exist on type 'Recorder'.
@@ -1147,12 +1147,14 @@ class Recorder {
1147
1147
// @ts-expect-error - TS2339 - Property 'sizeNew' does not exist on type 'Recorder'.
1148
1148
this.sizeNew+=writtenSize;
1149
1149
1150
-
// @ts-expect-error - TS2339 - Property '_cachePageInfo' does not exist on type 'Recorder'.
1151
-
this._cachePageInfo=pageInfo;
1152
-
// @ts-expect-error - TS2339 - Property '_cacheSessionTotal' does not exist on type 'Recorder'.
1153
-
this._cacheSessionTotal+=payloadSize;
1154
-
// @ts-expect-error - TS2339 - Property '_cacheSessionNew' does not exist on type 'Recorder'.
1155
-
this._cacheSessionNew+=writtenSize;
1150
+
if(writtenSize){
1151
+
// @ts-expect-error - TS2339 - Property '_cachePageInfo' does not exist on type 'Recorder'.
1152
+
this._cachePageInfo=pageInfo;
1153
+
// @ts-expect-error - TS2339 - Property '_cacheSessionTotal' does not exist on type 'Recorder'.
1154
+
this._cacheSessionTotal+=payloadSize;
1155
+
// @ts-expect-error - TS2339 - Property '_cacheSessionNew' does not exist on type 'Recorder'.
1156
+
this._cacheSessionNew+=writtenSize;
1157
+
}
1156
1158
}
1157
1159
1158
1160
// @ts-expect-error - TS7006 - Parameter 'params' implicitly has an 'any' type. | TS7006 - Parameter 'sessions' implicitly has an 'any' type.
0 commit comments