From 18c876138dc6297c75fc1b2d0f145a224bd446b5 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 17 Sep 2022 15:15:49 +0200 Subject: [PATCH] Allow importing JSON files in TypeScript --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 6ec41c38..1b43475d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "lib": ["es6", "dom"], "module": "es6", "moduleResolution": "node", + "resolveJsonModule": true, "baseUrl": ".", "paths": { "*": ["node_modules/*", "app/javascript/*"],