Skip to content

Commit

Permalink
websocket types
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Jul 11, 2022
1 parent e4637f8 commit b07b79b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type WebSocket from "ws";

export class CacheItem<I = unknown> {
constructor(rid: string, unsubscribe: (item: CacheItem) => void);
rid: string;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@babel/preset-env": "^7.12.1",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-node-resolve": "^8.4.0",
"@types/ws": "^8.5.3",
"babel-jest": "^26.6.3",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
Expand Down

0 comments on commit b07b79b

Please sign in to comment.