refactor(@deltachat/stdio-rpc-server): make getRPCServerPath and startDeltaChat synchronous

This commit is contained in:
DavidSM100
2025-12-04 18:27:27 -05:00
committed by l
parent 602f0a088e
commit be920bf3bf
2 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ export interface SearchOptions {
*/
export function getRPCServerPath(
options?: Partial<SearchOptions>
): Promise<string>;
): string;
@@ -33,7 +33,7 @@ export interface StartOptions {
* @param directory directory for accounts folder
* @param options
*/
export function startDeltaChat(directory: string, options?: Partial<SearchOptions & StartOptions> ): Promise<DeltaChatOverJsonRpcServer>
export function startDeltaChat(directory: string, options?: Partial<SearchOptions & StartOptions> ): DeltaChatOverJsonRpcServer
export namespace FnTypes {