diff --git a/CHANGELOG.md b/CHANGELOG.md index f73aaa8..57810cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # deverything +## 1.7.0 + +### Minor Changes + +- noop + ## 1.6.1 ### Patch Changes diff --git a/package.json b/package.json index 0741102..e41d7ab 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/types/Function.ts b/src/types/Function.ts index 63d3336..86e3c8f 100644 --- a/src/types/Function.ts +++ b/src/types/Function.ts @@ -1 +1,5 @@ export type VoidFn = () => void; + +export type AsyncVoidFn = Awaited; + +export const noop: VoidFn = () => void 0; diff --git a/src/types/index.ts b/src/types/index.ts index bb0d3bf..eb0ff06 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -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";