Skip to content

Commit

Permalink
add noop fn (#22)
Browse files Browse the repository at this point in the history
* add noop fn

* release

* one more
  • Loading branch information
ogroppo authored Oct 3, 2024
1 parent 86c0d6a commit 8b3d5d8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# deverything

## 1.7.0

### Minor Changes

- noop

## 1.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deverything",
"version": "1.6.1",
"version": "1.7.0",
"description": "Everything you need for Dev",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
4 changes: 4 additions & 0 deletions src/types/Function.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export type VoidFn = () => void;

export type AsyncVoidFn = Awaited<VoidFn>;

export const noop: VoidFn = () => void 0;
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export * from "./Coords";
export * from "./Date";
export * from "./Dimensions";
export * from "./Function";
export * from "./HashMap";
export * from "./Matrix";
export * from "./Maybe";
Expand Down

0 comments on commit 8b3d5d8

Please sign in to comment.