I tried getting soundfont using Angular. I get this error:
Argument of type 'AudioContext' is not assignable to parameter of type '{ new (contextOptions?: AudioContextOptions): AudioContext; prototype: AudioContext; }'.
Property 'prototype' is missing in type 'AudioContext' but required in type '{ new (contextOptions?: AudioContextOptions): AudioContext; prototype: AudioContext; }'.
I tried getting soundfont using Angular. I get this error:
This is my code:
error is in
new AudioContext()
part