diff --git a/examples/arco-pro/tsconfig.json b/examples/arco-pro/tsconfig.json index 360e44253..8a6d67e6a 100644 --- a/examples/arco-pro/tsconfig.json +++ b/examples/arco-pro/tsconfig.json @@ -19,9 +19,12 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "types": [ + "@farmfe/core/client" + ] }, "include": [ "src" ] -} +} \ No newline at end of file diff --git a/examples/solid-ssr/tsconfig.json b/examples/solid-ssr/tsconfig.json index e52520e6c..4cc721509 100644 --- a/examples/solid-ssr/tsconfig.json +++ b/examples/solid-ssr/tsconfig.json @@ -8,7 +8,14 @@ "jsxImportSource": "solid-js", "jsx": "preserve", "declaration": true, - "declarationMap": true + "declarationMap": true, + "types": [ + "@farmfe/core/client" + ] }, - "include": ["./src", "farm.config.ts", "farm.config.server.ts"] -} + "include": [ + "./src", + "farm.config.ts", + "farm.config.server.ts" + ] +} \ No newline at end of file diff --git a/examples/solid/tsconfig.json b/examples/solid/tsconfig.json index 512ddd749..ec47a5da6 100644 --- a/examples/solid/tsconfig.json +++ b/examples/solid/tsconfig.json @@ -6,7 +6,13 @@ "moduleResolution": "node", "noEmit": true, "jsx": "preserve", - "jsxImportSource": "solid-js" + "jsxImportSource": "solid-js", + "types": [ + "@farmfe/core/client" + ] }, - "include": ["src", "farm.config.mjs"] -} + "include": [ + "src", + "farm.config.mjs" + ] +} \ No newline at end of file diff --git a/examples/tailwind/tsconfig.json b/examples/tailwind/tsconfig.json index b1540c9ae..e400bfd7e 100644 --- a/examples/tailwind/tsconfig.json +++ b/examples/tailwind/tsconfig.json @@ -5,7 +5,13 @@ "module": "ESNext", "moduleResolution": "node", "noEmit": true, - "jsx": "react" + "jsx": "react", + "types": [ + "@farmfe/core/client" + ] }, - "include": ["src", "farm.config.ts"] -} + "include": [ + "src", + "farm.config.ts" + ] +} \ No newline at end of file diff --git a/examples/vue-antdv/tsconfig.json b/examples/vue-antdv/tsconfig.json index 17ba6bd83..1528b5276 100644 --- a/examples/vue-antdv/tsconfig.json +++ b/examples/vue-antdv/tsconfig.json @@ -9,9 +9,20 @@ "resolveJsonModule": true, "isolatedModules": true, "esModuleInterop": true, - "lib": ["ESNext", "DOM"], + "lib": [ + "ESNext", + "DOM" + ], "skipLibCheck": true, - "noEmit": true + "noEmit": true, + "types": [ + "@farmfe/core/client" + ] }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue", "farm.config.ts"] -} + "include": [ + "src/**/*.ts", + "src/**/*.d.ts", + "src/**/*.vue", + "farm.config.ts" + ] +} \ No newline at end of file diff --git a/examples/vue-jsx/tsconfig.json b/examples/vue-jsx/tsconfig.json index ae70ae6cf..1cb1f0714 100644 --- a/examples/vue-jsx/tsconfig.json +++ b/examples/vue-jsx/tsconfig.json @@ -9,9 +9,15 @@ "resolveJsonModule": true, "isolatedModules": true, "esModuleInterop": true, - "lib": ["ESNext", "DOM"], + "lib": [ + "ESNext", + "DOM" + ], "skipLibCheck": true, - "noEmit": true + "noEmit": true, + "types": [ + "@farmfe/core/client" + ] }, "include": [ "src/**/*.ts", @@ -20,4 +26,4 @@ "farm.config.mjs", "index.ts" ] -} +} \ No newline at end of file diff --git a/examples/vue-nativeui/tsconfig.json b/examples/vue-nativeui/tsconfig.json index 58d8a8144..ae0ca61b5 100644 --- a/examples/vue-nativeui/tsconfig.json +++ b/examples/vue-nativeui/tsconfig.json @@ -9,12 +9,25 @@ "resolveJsonModule": true, "isolatedModules": true, "esModuleInterop": true, - "lib": ["ESNext", "DOM"], + "lib": [ + "ESNext", + "DOM" + ], "skipLibCheck": true, "noEmit": true, "paths": { - "@/*": ["./src/*"] - } + "@/*": [ + "./src/*" + ] + }, + "types": [ + "@farmfe/core/client" + ] }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue", "farm.config.ts"] -} + "include": [ + "src/**/*.ts", + "src/**/*.d.ts", + "src/**/*.vue", + "farm.config.ts" + ] +} \ No newline at end of file