Quellcode durchsuchen

fix(typings): add missing type exports (#959)

Parcel doesn’t add a `declare` before the type in the `.d.ts`. Bug in Parcel?

Closes #961
Jonas Gloning vor 3 Jahren
Ursprung
Commit
3c915d57bb
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  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;