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:
@@ -24,5 +24,5 @@ import { LifecycleService } from './LifecycleService';
|
||||
* @public
|
||||
*/
|
||||
export interface RootLifecycleService extends LifecycleService {
|
||||
addBeforeShutdownHook(hook: () => void): void;
|
||||
addBeforeShutdownHook(hook: () => void | Promise<void>): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user