mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 封装数据字典
This commit is contained in:
3
src/typings/common.d.ts
vendored
3
src/typings/common.d.ts
vendored
@ -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 */
|
||||
|
Reference in New Issue
Block a user