From d29de8e735da0c529accea34ee9cba13f62dfe13 Mon Sep 17 00:00:00 2001 From: Levente Balogh Date: Thu, 17 Feb 2022 13:10:27 +0100 Subject: [PATCH] chore: allow importing json modules --- templates/common/tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/common/tsconfig.json b/templates/common/tsconfig.json index 8e6efd88d..945c917aa 100644 --- a/templates/common/tsconfig.json +++ b/templates/common/tsconfig.json @@ -4,8 +4,9 @@ "declaration": false, "rootDir": "./src", "baseUrl": "./src", - "typeRoots": ["./node_modules/@types"] + "typeRoots": ["./node_modules/@types"], + "resolveJsonModule": true }, "include": ["src", "types"], "extends": "@grafana/tsconfig" -} \ No newline at end of file +}