Skip to content

Incorrect WebAudio classes constructor arguments declarations in lib.es6.d.ts #14670

@cevek

Description

@cevek
declare var AudioBuffer: {
    prototype: AudioBuffer;
    new(): AudioBuffer;
}
declare var AudioBufferSourceNode: {
    prototype: AudioBufferSourceNode;
    new(): AudioBufferSourceNode;
}
// ... etc

Spec

https://webaudio.github.io/web-audio-api/#idl-def-AudioBufferSourceNode

[Constructor(BaseAudioContext context, optional AudioBufferSourceOptions options)]

TypeScript Version: 2.3.0 / nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions