Skip to content

Commit

Permalink
chore: Explicitly set supported types in tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Dec 21, 2022
1 parent 4732502 commit 85be08d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"paths": {
"yaml": ["../src/index.ts"]
},
"rootDir": ".."
"rootDir": "..",
"types": ["jest", "node"]
},
"include": ["**/*.ts", "**/doc/*.js"]
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"outDir": "dist",
"rootDir": "src",
"strict": true,
"target": "ES2020"
"target": "ES2020",
"types": ["node"]
},
"include": ["src/**/*.ts"]
}

0 comments on commit 85be08d

Please # to comment.