fix: 移除未使用的变量和导入,修复 tsc 编译错误

This commit is contained in:
hhs
2026-06-14 19:37:16 +08:00
parent 16105f5ac6
commit e11934cf70
2 changed files with 0 additions and 9 deletions

View File

@@ -3,7 +3,6 @@
// 来源docs/03-接口文档.md §五 错误码
// ============================================================
import type { ErrorCode } from "../types";
/** 将错误码转为用户友好文案(需要传入翻译函数) */
export function getErrorMessage(code: string, translate: (key: string) => string): string {