Skip to content

Commit

Permalink
add node type to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed May 4, 2023
1 parent 9ffa8dd commit 24cdeaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"esModuleInterop": true,
"paths": {
"primeng/*": ["src/app/components/*/public_api"]
}
},
"types": ["node"]
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"jasmine"
"jasmine",
"node"
],
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true
Expand Down

0 comments on commit 24cdeaa

Please sign in to comment.