codestar-base
ISC``` Result<T> { code: string = '' // 错误码, "00"表示成功,其他均表示错误 msg: string = '' // 错误描述 success: boolean = false // 是否成功 data?: T // 携带的数据 errors?: { [field: string]: string } // 错误描述,通常用于表单验证失败,返回验证失败字段的详细错误 args?: Record<string, string |
95
Security score
0 known advisories in v1.1.13
Weekly downloads
—
Unpacked size
5.5 kB
Dependencies
0
Last publish
1 year ago
Security advisories
No known vulnerabilities affect v1.1.13.