File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
3
import { BEHAVIOR_RUNNING } from "../consts" ;
4
- import { getLocalOption } from "../localstorage" ;
5
4
import { Recorder } from "../recorder" ;
6
5
7
6
// ===========================================================================
@@ -53,10 +52,8 @@ class BrowserRecorder extends Recorder {
53
52
// @ts -expect-error - TS2339 - Property 'port' does not exist on type 'BrowserRecorder'.
54
53
this . port = port ;
55
54
56
- // @ts -expect-error - TS2339 - Property 'recordStorage' does not exist on type 'BrowserRecorder'.
57
- this . recordStorage = false ;
58
- // @ts -expect-error - TS2339 - Property 'recordStorage' does not exist on type 'BrowserRecorder'.
59
- getLocalOption ( "recordStorage" ) . then ( ( res ) => ( this . recordStorage = ! ! res ) ) ;
55
+ // this.recordStorage = true;
56
+ //getLocalOption("recordStorage").then((res) => (this.recordStorage = !!res));
60
57
61
58
// @ts -expect-error - TS2551 - Property '_onDetached' does not exist on type 'BrowserRecorder'. Did you mean '_doDetach'?
62
59
this . _onDetached = ( tab , reason ) => {
You can’t perform that action at this time.
0 commit comments