MCPcopy Create free account
hub / github.com/esengine/esengine / updateProjectTsconfig

Method updateProjectTsconfig

packages/editor-app/src/api/tauri.ts:379–381  ·  view source on GitHub ↗

* 更新项目的 tsconfig.json,添加引擎类型路径 * Update project tsconfig.json with engine type paths * * This updates the tsconfig to point directly to engine's .d.ts files * instead of copying them to the project. * 这会更新 tsconfig 直接指向引擎的 .d.ts 文件,而不是复制到项目。 * * @param projectPath

(projectPath: string)

Source from the content-addressed store, hash-verified

377 * @param projectPath 项目路径 | Project path
378 */
379 static async updateProjectTsconfig(projectPath: string): Promise<void> {
380 return await invoke<void>('update_project_tsconfig', { projectPath });
381 }
382
383 /**
384 * 将本地文件路径转换为 Tauri 可访问的 asset URL

Callers 2

handleOpenRecentProjectFunction · 0.80
useProjectActionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected