File: tsc-fix.patch

package info (click to toggle)
node-ast-types 0.16.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,348 kB
  • sloc: javascript: 7,563; sh: 20; makefile: 7
file content (24 lines) | stat: -rw-r--r-- 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Xavier Guimard <yadd@debian.org>
Date: Wed, 3 Dec 2025 21:43:54 +0100
Subject: tsc workaround

Bug-Debian: https://bugs.debian.org/1054161
Forwarded: no
Last-Update: 2023-10-18
---
 tsconfig.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tsconfig.json b/tsconfig.json
index e8b3202..9213540 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,7 +2,7 @@
   "compilerOptions": {
     "rootDir": "./src",
     "outDir": "./lib",
-    "target": "es5",
+    "target": "ESNext",
     "module": "commonjs",
     "declaration": true,
     "sourceMap": true,