Tone.js/Tone/core/util/global.d.ts
Yotam Mann 8bc4deec2b feat: updating the way that AudioWorkletProcessors are handled
They each get their own .worklet.ts file which enables some typescript checking
2020-04-29 16:38:58 -04:00

7 lines
280 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;
}