Skip to content

Commit

Permalink
Support stricter type
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-ma committed Sep 20, 2020
1 parent bb604ce commit 49cf97a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ export {
isWebSocketPingEvent,
isWebSocketPongEvent,
connectWebSocket,
WebSocket,
} from "https://deno.land/std@0.65.0/ws/mod.ts";

export type {
WebSocket,
} from "https://deno.land/std@0.65.0/ws/mod.ts";
4 changes: 2 additions & 2 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { WebSocketServer, WebSocket, WebSocketState } from "./lib/websocket.ts";
export { WebSocketError } from "./lib/errors.ts";
export type { WebSocketServer, WebSocket, WebSocketState } from "./lib/websocket.ts";
export type { WebSocketError } from "./lib/errors.ts";

0 comments on commit 49cf97a

Please sign in to comment.