From fb463ceaae76382e0c3559d3af033d8fb073cd4f Mon Sep 17 00:00:00 2001 From: Jiaxin Peng Date: Wed, 27 Dec 2023 00:48:39 +0000 Subject: [PATCH] modify language map --- tsconfig.json | 2 ++ yarn.lock | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index a5f9a05..54cb87c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,8 @@ "baseUrl": ".", "inlineSourceMap": true, "inlineSources": true, + "resolveJsonModule": true, + "allowSyntheticDefaultImports": true, "module": "ESNext", "target": "ES6", "allowJs": true, diff --git a/yarn.lock b/yarn.lock index 3ab31c4..19370ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -408,7 +408,7 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -builtin-modules@^3.2.0: +builtin-modules@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==