refactor(editor): Apply Prettier (no-changelog) (#4920)
* ⚡ Adjust `format` script * 🔥 Remove exemption for `editor-ui` * 🎨 Prettify * 👕 Fix lint
This commit is contained in:
@@ -6,15 +6,14 @@ import Vue from 'vue';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
n8nExternalHooks?: Record<string, Record<string, Array<(store: Store, metadata?: IDataObject) => Promise<void>>>>;
|
||||
n8nExternalHooks?: Record<
|
||||
string,
|
||||
Record<string, Array<(store: Store, metadata?: IDataObject) => Promise<void>>>
|
||||
>;
|
||||
}
|
||||
}
|
||||
|
||||
export async function runExternalHook(
|
||||
eventName: string,
|
||||
store: Store,
|
||||
metadata?: IDataObject,
|
||||
) {
|
||||
export async function runExternalHook(eventName: string, store: Store, metadata?: IDataObject) {
|
||||
if (!window.n8nExternalHooks) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user