We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aaf2ed commit b91df37Copy full SHA for b91df37
dom/src/main/scala/org/scalajs/dom/OscillatorNode.scala
@@ -45,6 +45,6 @@ trait OscillatorNode
45
}
46
47
object OscillatorNode {
48
- def apply(context: BaseAudioContext, options: js.UndefOr[OscillatorNodeOptions] = js.undefined): GainNode =
49
- js.Dynamic.newInstance(js.Dynamic.global.GainNode)(context, options).asInstanceOf[GainNode]
+ def apply(context: BaseAudioContext, options: js.UndefOr[OscillatorNodeOptions] = js.undefined): OscillatorNode =
+ js.Dynamic.newInstance(js.Dynamic.global.OscillatorNode)(context, options).asInstanceOf[OscillatorNode]
50
0 commit comments