diff --git a/src/lib/stereo-analyser-node.d.ts b/src/lib/stereo-analyser-node.d.ts index 23db36c..e5a5b54 100644 --- a/src/lib/stereo-analyser-node.d.ts +++ b/src/lib/stereo-analyser-node.d.ts @@ -1,22 +1,21 @@ declare module "stereo-analyser-node" { - -declare interface StereoAnalyserNode { - StereoAnalyserNode( - audioContext: AudioContext, - opts: Object | undefined - ): { - fftSize: number; - frequencyBinCount: number; - minDecibels: number; - maxDecibels: number; - smoothingTimeConstant: number; - connect(destination: AudioNode | AudioParam): void; - disconnect(): void; - getFloatFrequencyData(arrayL: Float32Array, arrayR: Float32Array): void; - getByteFrequencyData(arrayL: Uint8Array, arrayR: Uint8Array): void; - getFloatTimeDomainData(arrayL: Float32Array, arrayR: Float32Array): void; - getByteTimeDomainData(arrayL: Uint8Array, arrayR: Uint8Array): void; + declare interface StereoAnalyserNode { + StereoAnalyserNode( + audioContext: AudioContext, + opts: Object | undefined + ): { + fftSize: number; + frequencyBinCount: number; + minDecibels: number; + maxDecibels: number; + smoothingTimeConstant: number; + connect(destination: AudioNode | AudioParam): void; + disconnect(): void; + getFloatFrequencyData(arrayL: Float32Array, arrayR: Float32Array): void; + getByteFrequencyData(arrayL: Uint8Array, arrayR: Uint8Array): void; + getFloatTimeDomainData(arrayL: Float32Array, arrayR: Float32Array): void; + getByteTimeDomainData(arrayL: Uint8Array, arrayR: Uint8Array): void; + }; } -} -export default StereoAnalyserNode.StereoAnalyserNode(); + export default StereoAnalyserNode.StereoAnalyserNode(); }