immutable-class
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -22,8 +22,8 @@ // Generated by dts-bundle v0.4.3 | ||
export function immutableArraysEqual<T extends Equalable>(arrayA: T[], arrayB: T[]): boolean; | ||
export function immutableLookupsEqual(lookupA: { | ||
[k: string]: Equalable; | ||
export function immutableLookupsEqual<T extends Equalable>(lookupA: { | ||
[k: string]: T; | ||
}, lookupB: { | ||
[k: string]: Equalable; | ||
[k: string]: T; | ||
}): boolean; | ||
} | ||
@@ -19,6 +19,6 @@ export interface Instance<ValueType, JSType> { | ||
export declare function immutableArraysEqual<T extends Equalable>(arrayA: T[], arrayB: T[]): boolean; | ||
export declare function immutableLookupsEqual(lookupA: { | ||
[k: string]: Equalable; | ||
export declare function immutableLookupsEqual<T extends Equalable>(lookupA: { | ||
[k: string]: T; | ||
}, lookupB: { | ||
[k: string]: Equalable; | ||
[k: string]: T; | ||
}): boolean; |
{ | ||
"name": "immutable-class", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A template for creating immutable classes", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -107,3 +107,3 @@ /** | ||
*/ | ||
export function immutableLookupsEqual(lookupA: { [k: string]: Equalable }, lookupB: { [k: string]: Equalable }): boolean { | ||
export function immutableLookupsEqual<T extends Equalable>(lookupA: { [k: string]: T }, lookupB: { [k: string]: T }): boolean { | ||
if (lookupA === lookupB) return true; | ||
@@ -110,0 +110,0 @@ if (!lookupA !== !lookupB) return false; |
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
70499