Explorar o código

fix properly import webrtc-adapter

afrokick %!s(int64=6) %!d(string=hai) anos
pai
achega
477deb9181
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      lib/adapter.ts
  2. 1 1
      test/faker.ts

+ 1 - 1
lib/adapter.ts

@@ -1,4 +1,4 @@
-import "webrtc-adapter";
+import { adapter as _ } from "webrtc-adapter";
 
 export const RTCSessionDescription =
   // @ts-ignore

+ 1 - 1
test/faker.ts

@@ -1,5 +1,5 @@
 import { WebSocket } from 'mock-socket';
-import "webrtc-adapter";
+import { adapter as _ } from 'webrtc-adapter';
 
 const fakeGlobals = {
     WebSocket,