diff --git a/packages/backend/src/registries/ContainerRegistry.spec.ts b/packages/backend/src/registries/ContainerRegistry.spec.ts index 1e77e559b..d609ada1c 100644 --- a/packages/backend/src/registries/ContainerRegistry.spec.ts +++ b/packages/backend/src/registries/ContainerRegistry.spec.ts @@ -37,8 +37,8 @@ vi.mock('@podman-desktop/api', async () => { }); beforeEach(() => { - const listeners: ((value: unknown) => {})[] = []; - const eventSubscriber = (listener: (value: unknown) => {}) => { + const listeners: ((value: unknown) => void)[] = []; + const eventSubscriber = (listener: (value: unknown) => void) => { listeners.push(listener); }; const fire = (value: unknown) => {