Skip to content

Commit bb5f0f3

Browse files
committed
Fixed type constraint for AudioScheduledSourceNode's implementation
This gives subclasses of AudioScheduledSourceNode access to functions from the full inheritance chain
1 parent c909d30 commit bb5f0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebAudioAPI/AudioScheduledSourceNode.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Impl = (
66
},
77
) => {
88
include AudioNode.Impl({
9-
type t = audioScheduledSourceNode
9+
type t = T.t
1010
})
1111

1212
external asAudioScheduledSourceNode: T.t => audioScheduledSourceNode = "%identity"

0 commit comments

Comments
 (0)