瀏覽代碼

add type exports

Joel Wetzell 3 年之前
父節點
當前提交
07b4ef6f62
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      lib/exports.ts

+ 10 - 0
lib/exports.ts

@@ -10,6 +10,16 @@ export type {
 export type { UtilSupportsObj } from "./util";
 export type { DataConnection } from "./dataconnection";
 export type { MediaConnection } from "./mediaconnection";
+export type { LogLevel } from './logger'
+export type {
+	ConnectionEventType,
+	ConnectionType,
+	PeerEventType,
+	PeerErrorType,
+	SerializationType,
+	SocketEventType,
+	ServerMessageType,
+} from "./enums";
 
 export { Peer, util };
 export default Peer;