Skip to content

Commit

Permalink
fix(ServerAPI): add injectCssIntoTab to serverAPI typings
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Jun 18, 2022
1 parent 21f7874 commit 823a274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export interface ServerAPI {
callServerMethod<TArgs = {}, TRes = {}>(methodName: string, args: TArgs): Promise<ServerResponse<TRes>>;
fetchNoCors<TRes = {}>(url: string, request: RequestInfo): Promise<ServerResponse<TRes>>;
executeInTab(tab: string, runAsync: boolean, code: string): Promise<unknown>;
injectCssIntoTab<TRes = boolean>(tab: string, style: string): Promise<ServerResponse<TRes>>;
removeCssFromTab(tab: string, cssId: string): Promise<unknown>;
}

Expand Down

0 comments on commit 823a274

Please sign in to comment.