Skip to content

Error TS2339: Property 'AudioContext' does not exist on type 'Window'. #62

@voigtd

Description

@voigtd

I am importing AudioInputTest and getting the following error:

ERROR in node_modules/@twilio/rtc-diagnostics/es5/lib/AudioInputTest.d.ts(272,45): error TS2339: Property 'AudioContext' does not exist on type 'Window'.
node_modules/@twilio/rtc-diagnostics/es5/lib/AudioOutputTest.d.ts(177,45): error TS2339: Property 'AudioContext' does not exist on type 'Window'.
node_modules/@twilio/rtc-diagnostics/es5/lib/recorder/audio.d.ts(47,9): error TS1086: An accessor cannot be declared in an ambient context.

I am using the latest SDK version (1.0.0) with the following environment:

  • Node 12.9.1
  • NPM 6.14.8
  • Angular 7.2.4
  • TypeScript 3.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions