conode 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.d.ts +2 -2
  2. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export declare type Callback = () => any;
1
+ export type Callback = () => any;
2
2
  export declare const createContext: <T>() => {
3
3
  contextualize(value: T, callback: Callback): Promise<void>;
4
4
  getContext(): T | undefined;
5
5
  };
6
- declare type Constructor = new (...args: any[]) => {};
6
+ type Constructor = new (...args: any[]) => {};
7
7
  export declare function Context(Base?: Constructor): {
8
8
  new (...args: any[]): {
9
9
  contextualize(callback: Callback): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conode",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "0-Deps, simple and fast context library for NodeJS",
5
5
  "type": "module",
6
6
  "main": "build/index.cjs",