fixing typing

This commit is contained in:
Yotam Mann 2019-08-20 22:51:08 -07:00
parent ff5360f408
commit e60526c006

View file

@ -33,7 +33,7 @@ export class Panner extends ToneAudioNode<TonePannerOptions> {
constructor(options?: Partial<TonePannerOptions>);
// tslint:disable-next-line: unified-signatures
constructor(fade?: NormalRange);
constructor(pan?: AudioRange);
constructor() {
super(Object.assign(optionsFromArguments(Panner.getDefaults(), arguments, ["pan"])));
const options = optionsFromArguments(Panner.getDefaults(), arguments, ["pan"]);