Skip to content

Commit b91df37

Browse files
committed
typo.
1 parent 2aaf2ed commit b91df37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom/src/main/scala/org/scalajs/dom/OscillatorNode.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ trait OscillatorNode
4545
}
4646

4747
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]
48+
def apply(context: BaseAudioContext, options: js.UndefOr[OscillatorNodeOptions] = js.undefined): OscillatorNode =
49+
js.Dynamic.newInstance(js.Dynamic.global.OscillatorNode)(context, options).asInstanceOf[OscillatorNode]
5050
}

0 commit comments

Comments
 (0)