Skip to content

Commit 4851fbd

Browse files
author
Evgeny Markov
committed
fix: downgrade typescript target to node 10 in examples
1 parent 9e1ca07 commit 4851fbd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

examples/typescript/multiple-db/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
/* Basic Options */
55
"noEmit": true,
6-
"lib": ["ES2020"],
6+
"lib": ["ES2018"],
7+
"target": "ES2018",
8+
"module": "CommonJS",
79

810
/* Module Resolution Options */
911
"esModuleInterop": true,

examples/typescript/single-db/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
/* Basic Options */
55
"noEmit": true,
6-
"lib": ["ES2020"],
6+
"lib": ["ES2018"],
7+
"target": "ES2018",
8+
"module": "CommonJS",
79

810
/* Module Resolution Options */
911
"esModuleInterop": true,

examples/typescript/transactions/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
/* Basic Options */
55
"noEmit": true,
6-
"lib": ["ES2020"],
6+
"lib": ["ES2018"],
7+
"target": "ES2018",
8+
"module": "CommonJS",
79

810
/* Module Resolution Options */
911
"esModuleInterop": true,

0 commit comments

Comments
 (0)