Skip to content

Commit

Permalink
add noop fn
Browse files Browse the repository at this point in the history
  • Loading branch information
ogroppo committed Oct 3, 2024
1 parent 86c0d6a commit 3e0cdef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/Function.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export type VoidFn = () => void;

export const noop: VoidFn = () => void 0;

0 comments on commit 3e0cdef

Please sign in to comment.