Skip to content

Commit

Permalink
fix(exit-hook): typo function name
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Jan 3, 2024
1 parent f785922 commit e8df52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/exit-hook/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let exiting = false;
* existHook(saveAllData);
* ```
*/
export function existHook(callback: () => void): void {
export function exitHook(callback: () => void): void {
callbacks.push(callback);
}

Expand Down

0 comments on commit e8df52a

Please sign in to comment.