mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 15:07:33 +08:00
migrate color / icon select to typescript
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import type { TypeAndName } from './base.ts';
|
||||
|
||||
export type ColorValue = string;
|
||||
|
||||
export interface ColorInfo {
|
||||
export interface ColorInfo extends Record<string, unknown> {
|
||||
readonly color: ColorValue;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
export type LineAwesomeIconClassName = string;
|
||||
|
||||
export interface IconInfo {
|
||||
export interface IconInfo extends Record<string, unknown> {
|
||||
readonly icon: LineAwesomeIconClassName;
|
||||
}
|
||||
|
||||
export interface IconInfoWithId {
|
||||
export interface IconInfoWithId extends IconInfo {
|
||||
readonly id: string;
|
||||
readonly icon: LineAwesomeIconClassName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user