diff --git a/packages/account-postgres-sink-service/package.json b/packages/account-postgres-sink-service/package.json index ce38e95e5..eda56e4c0 100644 --- a/packages/account-postgres-sink-service/package.json +++ b/packages/account-postgres-sink-service/package.json @@ -62,6 +62,7 @@ "@types/deep-equal": "^1.0.1", "@types/lodash": "^4.14.195", "@types/node": "^18.11.11", + "@types/node-cron": "^3.0.9", "@types/pg": "^8.6.6", "@types/yargs": "^17.0.24", "git-format-staged": "^2.1.3", diff --git a/packages/account-postgres-sink-service/tsconfig.build.json b/packages/account-postgres-sink-service/tsconfig.build.json index 0475676fc..2c3b5b795 100644 --- a/packages/account-postgres-sink-service/tsconfig.build.json +++ b/packages/account-postgres-sink-service/tsconfig.build.json @@ -16,7 +16,7 @@ "moduleResolution": "Node", "skipLibCheck": true, "baseUrl": ".", - "typeRoots": ["node_modules/@types", "node", "cron"], + "typeRoots": ["node_modules/@types"], "strict": true, "paths": { "@/*": ["*"] diff --git a/yarn.lock b/yarn.lock index bd4182158..18173f17f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3627,6 +3627,11 @@ resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== +"@types/node-cron@^3.0.9": + version "3.0.9" + resolved "https://registry.yarnpkg.com/@types/node-cron/-/node-cron-3.0.9.tgz#e792dd4847804cc37ed90847f45e04e20cd08768" + integrity sha512-P10Vf+oagnMbefD31nqjS/dpBM34qzfdpvIgVZwtwsNb0Hg2lDaPFeGcyGUJIqh3zHlDMwYXGeunGgMnswgnPg== + "@types/node@*", "@types/node@>=13.7.0": version "20.5.7" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.7.tgz#4b8ecac87fbefbc92f431d09c30e176fc0a7c377"