diff --git a/Tone/core/util/Defaults.ts b/Tone/core/util/Defaults.ts index 23f65e16..b7a5930d 100644 --- a/Tone/core/util/Defaults.ts +++ b/Tone/core/util/Defaults.ts @@ -46,7 +46,7 @@ export function deepMerge(target: any, ...sources: any[]): any { /** * Returns true if the two arrays have the same value for each of the elements */ -export function deepEquals(arrayA: number[] | string[], arrayB: number[] | string[]): boolean { +export function deepEquals(arrayA: any[], arrayB: any[]): boolean { return arrayA.length === arrayB.length && arrayA.every((element, index) => arrayB[index] === element); }