Tone.js/Tone/core/util/global.d.ts
2024-05-03 11:09:28 -04:00

14 lines
300 B
TypeScript

/**
* Replace the default lib.dom.d.ts interface to reflect the fact
* that the AudioParamMap extends Map
*/
interface AudioParamMap extends Map<string, AudioParam> {
forEach(
callbackfn: (
value: AudioParam,
key: string,
parent: AudioParamMap
) => void,
thisArg?: any
): void;
}