The constructor for an OfflineAudioContext now accepts a dictionary argument to specify the options needed to construct the context. This is an addition to the existing constructor that takes three arguments.
Docs: https://webaudio.github.io/web-audio-api/#OfflineAudioContext https://webaudio.github.io/web-audio-api/#offlineaudiocontextoptions