ts-gems 3.2.1 → 3.3.0

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/lib/types.d.ts +2 -0
  2. package/package.json +3 -3
package/lib/types.d.ts CHANGED
@@ -96,6 +96,8 @@ export type ThunkAsync<T> = Thunk<T> | (() => Promise<T>)
96
96
  export type TypeThunk<T = any> = Thunk<Type<T>>;
97
97
  export type TypeThunkAsync<T = any> = ThunkAsync<Type<T>>;
98
98
 
99
+ export type MaybePromise<T> = T | Promise<T>;
100
+
99
101
 
100
102
  /**
101
103
  * PropertyType
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "lodash",
13
13
  "underscore"
14
14
  ],
15
- "version": "3.2.1",
15
+ "version": "3.3.0",
16
16
  "types": "lib/index.d.ts",
17
17
  "main": "lib/index.js",
18
18
  "module": "lib/index.js",
@@ -33,9 +33,9 @@
33
33
  ],
34
34
  "devDependencies": {
35
35
  "@types/jest": "^29.5.12",
36
- "eslint": "^8.57.0",
36
+ "eslint": "^9.0.0",
37
37
  "jest": "^29.7.0",
38
38
  "ts-jest": "^29.1.2",
39
- "typescript": "^5.4.2"
39
+ "typescript": "^5.4.5"
40
40
  }
41
41
  }