feat: 封装数据字典

This commit is contained in:
xlsea
2024-09-04 09:11:04 +08:00
parent 0130688265
commit 3d426fb8e1
20 changed files with 421 additions and 24 deletions

View File

@ -16,6 +16,9 @@ declare namespace CommonType {
*/
type Option<K = string> = { value: K; label: string };
/** The record type */
type Record<K extends string | number = string> = { [key in K]: string };
type YesOrNo = 'Y' | 'N';
/** add null to all properties */