@alloc/types
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "@alloc/types", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"main": "types.d.ts", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -55,3 +55,3 @@ export * from './react' | ||
/** Ensure the given type is an object type */ | ||
export type ObjectType<T> = T extends {} ? T : {} | ||
export type ObjectType<T> = T extends object ? T : {} | ||
@@ -58,0 +58,0 @@ /** Intersect a union of objects but merge property types with _unions_ */ |
3525