aboutsummaryrefslogtreecommitdiff
path: root/src/content/client/OperationClient.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/client/OperationClient.ts')
-rw-r--r--src/content/client/OperationClient.ts12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/content/client/OperationClient.ts b/src/content/client/OperationClient.ts
index 9c72c75..2bc7aee 100644
--- a/src/content/client/OperationClient.ts
+++ b/src/content/client/OperationClient.ts
@@ -1,11 +1,13 @@
-import * as operations from '../../shared/operations';
-import * as messages from '../../shared/messages';
+import * as operations from "../../shared/operations";
+import * as messages from "../../shared/messages";
export default interface OperationClient {
execBackgroundOp(repeat: number, op: operations.Operation): Promise<void>;
internalOpenUrl(
- url: string, newTab?: boolean, background?: boolean,
+ url: string,
+ newTab?: boolean,
+ background?: boolean
): Promise<void>;
}
@@ -19,7 +21,9 @@ export class OperationClientImpl implements OperationClient {
}
internalOpenUrl(
- url: string, newTab?: boolean, background?: boolean,
+ url: string,
+ newTab?: boolean,
+ background?: boolean
): Promise<void> {
return browser.runtime.sendMessage({
type: messages.BACKGROUND_OPERATION,