🐛 fix(ci): 补全前端 Node 文件系统类型声明

- 为测试环境的 node:fs shim 增加 readdirSync 返回类型
- 避免本机上级 @types/node 掩盖隔离构建错误
- 恢复 Dev Build 与 Web Server Docker 镜像前端编译
This commit is contained in:
Syngnat
2026-07-16 12:11:29 +08:00
parent 6de7807f01
commit 695fad283c

View File

@@ -1,4 +1,5 @@
declare module 'node:fs' {
export function readdirSync(path: string | URL): string[];
export function readFileSync(path: string | URL, encoding: string): string;
}