mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Add type field to simple-peer/SignalData (#36284)
* Add "type" field to simple-peer/SignalData * Fix Cannot find name 'RTCSdpType' error.
This commit is contained in:
committed by
Benjamin Lichtman
parent
8bba7f91ce
commit
b4ae49897f
Vendored
+1
@@ -40,6 +40,7 @@ declare namespace SimplePeer {
|
||||
type SimplePeerData = string | Buffer | TypedArray | ArrayBuffer | Blob;
|
||||
|
||||
interface SignalData {
|
||||
type?: "offer" | "pranswer" | "answer" | "rollback";
|
||||
sdp?: any;
|
||||
candidate?: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user