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"
|