mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Add EventEmitter to TrackPublication type
Per https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta5/docs/TrackPublication.html, `TrackPublication` is an `EventEmitter`
This commit is contained in:
Vendored
+1
-1
@@ -404,7 +404,7 @@ export class TrackNameTooLongError extends TwilioError {
|
||||
code: 53302;
|
||||
message: 'Track name is too long';
|
||||
}
|
||||
export class TrackPublication {
|
||||
export class TrackPublication extends EventEmitter {
|
||||
trackName: string;
|
||||
trackSid: Track.SID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user