update api docs

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-11-10 15:31:42 +01:00
parent d0c09089a8
commit 263283c7bd
+6 -6
View File
@@ -26,9 +26,14 @@ export interface BackendFeature {
// @public (undocumented)
export interface BackendLifecycle {
addShutdownHook(options: ShutdownHookOptions): void;
addShutdownHook(options: BackendLifecycleShutdownHook): void;
}
// @public (undocumented)
export type BackendLifecycleShutdownHook = {
fn: () => void | Promise<void>;
};
// @public (undocumented)
export interface BackendModuleConfig<TOptions> {
// (undocumented)
@@ -243,11 +248,6 @@ export type ServiceRef<
$$ref: 'service';
};
// @public (undocumented)
export type ShutdownHookOptions = {
fn: () => Promise<void>;
};
// @public (undocumented)
export const tokenManagerServiceRef: ServiceRef<TokenManager, 'plugin'>;