From 402b49d715d5a883de7b71bd0ebaf6ff024eb81b Mon Sep 17 00:00:00 2001 From: jamil314 Date: Fri, 20 Dec 2024 14:32:45 +0600 Subject: [PATCH] fix: type errors in e2e --- package.json | 1 + tsconfig.json | 5 +++-- yarn.lock | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6f68655b..a84cfbaa 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,7 @@ "@types/node": "^10.12.5", "@types/node-fetch": "^2.6.2", "@types/nodemailer": "^6.4.14", + "@types/uuid": "^10.0.0", "app-module-path": "^2.2.0", "chalk": "^2.4.1", "country-data": "^0.0.31", diff --git a/tsconfig.json b/tsconfig.json index 05313d84..beba0ad9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "sourceMap": true, "moduleResolution": "node16", "rootDir": ".", - "lib": ["esnext.asynciterable", "es6", "es2017", "es2019", "es2022"], + "lib": ["esnext.asynciterable", "es6", "es2017", "es2019", "es2022", "dom"], "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "noImplicitReturns": true, @@ -18,7 +18,8 @@ "noImplicitAny": true, "skipLibCheck": true, "strictNullChecks": true, - "types": ["jest", "fhir", "geojson"] + "types": ["jest", "fhir", "geojson"], + "resolveJsonModule": true }, "include": [ "src/**/*.ts", diff --git a/yarn.lock b/yarn.lock index ce606959..6f810e98 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2322,6 +2322,11 @@ dependencies: "@types/node" "*" +"@types/uuid@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-10.0.0.tgz#e9c07fe50da0f53dc24970cca94d619ff03f6f6d" + integrity sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ== + "@types/wrap-ansi@^3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz#18b97a972f94f60a679fd5c796d96421b9abb9fd"