diff --git a/tsconfig.json b/tsconfig.json index df61c009e5d..ff8dd9d513f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,7 +27,8 @@ "esModuleInterop": true, "paths": { "primeng/*": ["src/app/components/*/public_api"] - } + }, + "types": ["node"] }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, diff --git a/tsconfig.spec.json b/tsconfig.spec.json index d2462f52619..96b7c58d68a 100755 --- a/tsconfig.spec.json +++ b/tsconfig.spec.json @@ -3,7 +3,8 @@ "compilerOptions": { "outDir": "./out-tsc/spec", "types": [ - "jasmine" + "jasmine", + "node" ], "resolveJsonModule": true, "allowSyntheticDefaultImports": true