refactor(editor): Type source control event bus (no-changelog) (#10395)
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user