]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix ws import
authorChocobozzz <me@florianbigard.com>
Mon, 30 Aug 2021 07:47:17 +0000 (09:47 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 30 Aug 2021 07:47:17 +0000 (09:47 +0200)
server/typings/ws/index.d.ts [new file with mode: 0644]

diff --git a/server/typings/ws/index.d.ts b/server/typings/ws/index.d.ts
new file mode 100644 (file)
index 0000000..536e033
--- /dev/null
@@ -0,0 +1,8 @@
+import { Server } from 'ws'
+
+declare module 'ws' {
+  // FIXME: remove when 'ws' is fixed
+  export class WebSocketServer extends Server {
+
+  }
+}