@peersyst/react-types
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -38,1 +38,8 @@ import { CSSProperties } from "react"; | ||
export type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never; | ||
/** | ||
* Creates a type with common properties of A and B | ||
*/ | ||
type Common<A, B> = { | ||
[P in keyof A & keyof B]: A[P] | B[P]; | ||
}; |
{ | ||
"name": "@peersyst/react-types", | ||
"author": "Peersyst", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"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
2790
38