File: tsc-workaround.patch

package info (click to toggle)
node-lib0 0.2.99-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,100 kB
  • sloc: javascript: 7,746; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: fix for tsc >= 4.8
Author: Yadd <yadd@debian.org>
Forwarded: no
Last-Update: 2022-10-18

--- a/websocket.js
+++ b/websocket.js
@@ -96,6 +96,7 @@
    * @param {object} opts
    * @param {'arraybuffer' | 'blob' | null} [opts.binaryType] Set `ws.binaryType`
    */
+// @ts-ignore
   constructor (url, { binaryType } = {}) {
     super()
     this.url = url