diff --git a/app/javascript/retrospring/utilities/on.ts b/app/javascript/retrospring/utilities/on.ts index 6f29accd..fc778311 100644 --- a/app/javascript/retrospring/utilities/on.ts +++ b/app/javascript/retrospring/utilities/on.ts @@ -1,4 +1,4 @@ -type OnCallbackFunction = (event: Event) => void; +export type OnCallbackFunction = (event: Event) => void; export function on(type: string, selector: string, callback: OnCallbackFunction): void { document.addEventListener(type, (event: Event) => {