Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(tooling): resolve standalone TypeScript checks (#43029)

Stephen Zhouf3107fee3f8b
diff --git a/cli/tsconfig.json b/cli/tsconfig.json
index b8f2b9072f5..1cb6677b837 100644
--- a/cli/tsconfig.json
+++ b/cli/tsconfig.json
@@ -7,6 +7,7 @@
"@test/*": ["./test/*"]
},
"types": ["node"],
+ "allowImportingTsExtensions": true,
"noEmit": true, // we already have bundlers to handle this.
"outDir": "dist",
"sourceMap": true
diff --git a/web/i18n/resources.ts b/web/i18n/resources.ts
index 6fc52e2c117..48d61ed71a2 100644
--- a/web/i18n/resources.ts
+++ b/web/i18n/resources.ts
@@ -1,4 +1,4 @@
-import type Resources from './resources.generated'
+import type Resources from './resources.generated.d.ts'
import { kebabCase } from 'string-ts'
export const defaultNS = 'app' as const