File: 2001_shared_types.patch

package info (click to toggle)
node-base64url 3.0.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 316 kB
  • sloc: javascript: 62; makefile: 13; sh: 6
file content (21 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Fix include system shared types
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2019-02-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,7 +9,12 @@
     "outDir": "./dist",
     "removeComments": true,
     "strictNullChecks": true,
-    "target": "es5"
+    "target": "es5",
+    "types": ["node"],
+    "typeRoots": [
+      "/usr/lib/nodejs/@types",
+      "/usr/share/nodejs/@types"
+    ]
   },
   "files": [
     "./src/base64url.ts"