diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-30 09:47:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-30 09:47:17 +0200 |
commit | e4671228c8feaab9713cfb5514bd5583aa729164 (patch) | |
tree | 76fb7f42b6d940e1ce14cfdee0999b769f9d881d /server/typings | |
parent | 119951578156959658847dfacfd5499b5957acd9 (diff) | |
download | PeerTube-e4671228c8feaab9713cfb5514bd5583aa729164.tar.gz PeerTube-e4671228c8feaab9713cfb5514bd5583aa729164.tar.zst PeerTube-e4671228c8feaab9713cfb5514bd5583aa729164.zip |
Fix ws import
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/ws/index.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/typings/ws/index.d.ts b/server/typings/ws/index.d.ts new file mode 100644 index 000000000..536e0338f --- /dev/null +++ b/server/typings/ws/index.d.ts | |||
@@ -0,0 +1,8 @@ | |||
1 | import { Server } from 'ws' | ||
2 | |||
3 | declare module 'ws' { | ||
4 | // FIXME: remove when 'ws' is fixed | ||
5 | export class WebSocketServer extends Server { | ||
6 | |||
7 | } | ||
8 | } | ||