Explorar o código

add type exports

Joel Wetzell %!s(int64=3) %!d(string=hai) anos
pai
achega
07b4ef6f62
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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;