From 1ee1fa531559b8a084459e33cfda270c049c84c1 Mon Sep 17 00:00:00 2001 From: Sebastian Wendel Date: Sat, 9 Mar 2024 12:35:47 +0100 Subject: [PATCH] enabled json import types --- tsconfig.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 11d87e3..1789b82 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,10 @@ ], "compilerOptions": { "baseUrl": ".", + "resolveJsonModule": true, + "allowSyntheticDefaultImports": true, + "jsx": "react-jsx", + "jsxImportSource": "react", "paths": { "@srx/assets": [ "src/assets" @@ -44,8 +48,6 @@ "@srx/styles/*": [ "src/styles/*" ] - }, - "jsx": "react-jsx", - "jsxImportSource": "react" + } } } \ No newline at end of file