fix(ServerAPI): add injectCssIntoTab to serverAPI typings

This commit is contained in:
AAGaming
2022-06-18 11:10:35 -04:00
parent 21f7874cab
commit 823a2745f9

View File

@@ -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>;
}