Skip to content

Commit 85be08d

Browse files
committedDec 21, 2022
chore: Explicitly set supported types in tsconfig.json
1 parent 4732502 commit 85be08d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎tests/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"paths": {
77
"yaml": ["../src/index.ts"]
88
},
9-
"rootDir": ".."
9+
"rootDir": "..",
10+
"types": ["jest", "node"]
1011
},
1112
"include": ["**/*.ts", "**/doc/*.js"]
1213
}

‎tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"outDir": "dist",
88
"rootDir": "src",
99
"strict": true,
10-
"target": "ES2020"
10+
"target": "ES2020",
11+
"types": ["node"]
1112
},
1213
"include": ["src/**/*.ts"]
1314
}

0 commit comments

Comments
 (0)
Please sign in to comment.