Skip to content

Commit

Permalink
quickfix: add missing file from previous commit, remove recordStorage…
Browse files Browse the repository at this point in the history
…, now moved to base recorder
  • Loading branch information
ikreymer committed Nov 16, 2024
1 parent 56b0fbc commit 27c684a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/ext/browser-recorder.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use strict";

import { BEHAVIOR_RUNNING } from "../consts";
import { getLocalOption } from "../localstorage";
import { Recorder } from "../recorder";

// ===========================================================================
Expand Down Expand Up @@ -53,10 +52,8 @@ class BrowserRecorder extends Recorder {
// @ts-expect-error - TS2339 - Property 'port' does not exist on type 'BrowserRecorder'.
this.port = port;

// @ts-expect-error - TS2339 - Property 'recordStorage' does not exist on type 'BrowserRecorder'.
this.recordStorage = false;
// @ts-expect-error - TS2339 - Property 'recordStorage' does not exist on type 'BrowserRecorder'.
getLocalOption("recordStorage").then((res) => (this.recordStorage = !!res));
// this.recordStorage = true;
//getLocalOption("recordStorage").then((res) => (this.recordStorage = !!res));

// @ts-expect-error - TS2551 - Property '_onDetached' does not exist on type 'BrowserRecorder'. Did you mean '_doDetach'?
this._onDetached = (tab, reason) => {
Expand Down

0 comments on commit 27c684a

Please sign in to comment.