Przeglądaj źródła

chore: use react-jsx build

close https://github.com/ant-design/ant-design-pro/issues/7698
chenshuai2144 4 lat temu
rodzic
commit
a91f4681da
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.json

@@ -6,7 +6,7 @@
     "lib": ["esnext", "dom"],
     "sourceMap": true,
     "baseUrl": ".",
-    "jsx": "preserve",
+    "jsx": "react-jsx",
     "allowSyntheticDefaultImports": true,
     "moduleResolution": "node",
     "forceConsistentCasingInFileNames": true,