Last prettier

This commit is contained in:
Matthew Stratford 2020-09-25 16:37:41 +01:00
parent 4a9965dc71
commit ea95a34765

View file

@ -1,22 +1,21 @@
declare module "stereo-analyser-node" { declare module "stereo-analyser-node" {
declare interface StereoAnalyserNode {
declare interface StereoAnalyserNode { StereoAnalyserNode(
StereoAnalyserNode( audioContext: AudioContext,
audioContext: AudioContext, opts: Object | undefined
opts: Object | undefined ): {
): { fftSize: number;
fftSize: number; frequencyBinCount: number;
frequencyBinCount: number; minDecibels: number;
minDecibels: number; maxDecibels: number;
maxDecibels: number; smoothingTimeConstant: number;
smoothingTimeConstant: number; connect(destination: AudioNode | AudioParam): void;
connect(destination: AudioNode | AudioParam): void; disconnect(): void;
disconnect(): void; getFloatFrequencyData(arrayL: Float32Array, arrayR: Float32Array): void;
getFloatFrequencyData(arrayL: Float32Array, arrayR: Float32Array): void; getByteFrequencyData(arrayL: Uint8Array, arrayR: Uint8Array): void;
getByteFrequencyData(arrayL: Uint8Array, arrayR: Uint8Array): void; getFloatTimeDomainData(arrayL: Float32Array, arrayR: Float32Array): void;
getFloatTimeDomainData(arrayL: Float32Array, arrayR: Float32Array): void; getByteTimeDomainData(arrayL: Uint8Array, arrayR: Uint8Array): void;
getByteTimeDomainData(arrayL: Uint8Array, arrayR: Uint8Array): void; };
} }
} export default StereoAnalyserNode.StereoAnalyserNode();
export default StereoAnalyserNode.StereoAnalyserNode();
} }