@peersyst/react-types
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -42,4 +42,7 @@ import { CSSProperties } from "react"; | ||
*/ | ||
type Common<A, B> = { | ||
[P in keyof A & keyof B]: A[P] | B[P]; | ||
}; | ||
type Common<A, B> = Pick< | ||
A, | ||
{ | ||
[K in keyof A & keyof B]: A[K] extends B[K] ? (B[K] extends A[K] ? K : never) : never; | ||
}[keyof A & keyof B] | ||
>; |
{ | ||
"name": "@peersyst/react-types", | ||
"author": "Peersyst", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "types": "./index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2884
41