From a1c5221844b0768ec014d9101528c0432767f3ef Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sun, 2 Feb 2020 12:07:19 +0100 Subject: [PATCH] dbgate types in tsconfig - doesn't work --- api/tsconfig.json | 4 ++++ web/tsconfig.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/api/tsconfig.json b/api/tsconfig.json index e5459c4c..12f5cf76 100644 --- a/api/tsconfig.json +++ b/api/tsconfig.json @@ -5,6 +5,10 @@ "checkJs": true, "noEmit": true, "moduleResolution": "node", + // doesn't work + "types": [ + "dbgate" + ] }, "include": [ "src" diff --git a/web/tsconfig.json b/web/tsconfig.json index 9a0ecbb2..b947b36f 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -15,12 +15,13 @@ "lib": [ "dom", "dom.iterable", - "esnext", + "esnext" ], "strict": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "isolatedModules": true, + // doesn't work "types": [ "dbgate" ]