Open luliloveshe opened 11 months ago
Hey, sorry for the late reply, it seems that the TS types are generated from the published API (https://www.w3.org/TR/webaudio/) while sinkId is still only in editors draft (https://webaudio.github.io/web-audio-api/)
Not really a user of typescript myself so I don't really know how to solve the issue, maybe adding the AudioContextOptions manually in the index.d.ts
file? Any help welcome here