```ts 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