@guillaume-docquier/tools-ts 8.1.0 → 8.2.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.
@@ -160,4 +160,4 @@ export type ValueOf<T> = T[keyof T];
160
160
  * useEnum("a") // also works
161
161
  * ```
162
162
  */
163
- export type Enumify<TObject extends Record<string, string>> = ValueOf<TObject>;
163
+ export type Enumify<TObject extends Record<string, string | number>> = ValueOf<TObject>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guillaume-docquier/tools-ts",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "My personal collection of typescript tools",
5
5
  "homepage": "https://github.com/Guillaume-Docquier/tools-ts",
6
6
  "license": "MIT",