1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Merge branch 'dev' into release-3.3

This commit is contained in:
Laurent Cozic
2025-05-04 17:57:34 +01:00

View File

@@ -167,7 +167,7 @@ export const startServer = async (startPort: number, secretKeyFilePath: string,
});
};
export const stopServer = async (server: IpcServer|null) => {
export const stopServer = async (server: IpcServer|null): Promise<void> => {
if (!server) return;
return new Promise((resolve, reject) => {
@@ -175,7 +175,7 @@ export const stopServer = async (server: IpcServer|null) => {
if (error) {
reject(error);
} else {
resolve(null);
resolve();
}
});
});