diff --git a/src/tsconfig.esm.json b/src/tsconfig.esm.json index 767a73988fd..7482b5c6313 100644 --- a/src/tsconfig.esm.json +++ b/src/tsconfig.esm.json @@ -6,6 +6,7 @@ "outDir": "../es", "module": "ES6", "target": "ES6", - "jsx": "react" + "jsx": "react", + "types": ["vue/jsx"], } } diff --git a/themes/tusimple/tsconfig.esm.json b/themes/tusimple/tsconfig.esm.json index e09b350e9d0..b7aee190c96 100644 --- a/themes/tusimple/tsconfig.esm.json +++ b/themes/tusimple/tsconfig.esm.json @@ -5,7 +5,8 @@ "outDir": "./es", "module": "ES6", "target": "ES6", - "jsx": "react" + "jsx": "react", + "types": ["vue/jsx"], }, "references": [{ "path": "../../src/tsconfig.esm.json" }] }