Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit d9541f4

Browse files
authored
fix: add lib to tsconfig (#235)
Seems necessary to get external tests passing with js-ipfs
1 parent 2ef78ee commit d9541f4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

examples/types-use-ipfs-from-ts/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"skipLibCheck": true,
55
"noImplicitAny": false,
66
"esModuleInterop": true,
7-
"moduleResolution": "Node",
8-
"noEmit": true
7+
"moduleResolution": "node",
8+
"noEmit": true,
9+
"lib": ["ES2020", "ES2020.Promise", "ES2020.String", "ES2020.BigInt", "DOM", "DOM.Iterable"]
910
},
1011
"include": [
1112
"src"

examples/types-use-ipfs-from-typed-js/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"skipLibCheck": true,
77
"noImplicitAny": false,
88
"esModuleInterop": true,
9-
"moduleResolution": "Node",
10-
"noEmit": true
9+
"moduleResolution": "node",
10+
"noEmit": true,
11+
"lib": ["ES2020", "ES2020.Promise", "ES2020.String", "ES2020.BigInt", "DOM", "DOM.Iterable"]
1112
},
1213
"include": [
1314
"src"

0 commit comments

Comments
 (0)