refactor(editor): Type source control event bus (no-changelog) (#10395)

This commit is contained in:
Tomi Turtiainen 2024-08-19 18:04:00 +03:00 committed by GitHub
parent b4aec594e4
commit f784a4c95a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,8 @@
import { createEventBus } from 'n8n-design-system/utils';
export const sourceControlEventBus = createEventBus();
export interface SourceControlEventBusEvents {
/** Event when latest changes were pulled from the source control */
pull: never;
}
export const sourceControlEventBus = createEventBus<SourceControlEventBusEvents>();