refactor: apply more review suggestions

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-12-10 11:03:07 +01:00
parent 8397edc1bf
commit ba082fd507
10 changed files with 28 additions and 18 deletions
@@ -24,5 +24,5 @@ import { LifecycleService } from './LifecycleService';
* @public
*/
export interface RootLifecycleService extends LifecycleService {
addBeforeShutdownHook(hook: () => void): void;
addBeforeShutdownHook(hook: () => void | Promise<void>): void;
}