修正大部分的编译错误。
This commit is contained in:
@@ -4,12 +4,12 @@ import { MaterialDesign3SchemeStorage } from './material-3-scheme';
|
||||
import { QSchemeStorage } from './q-scheme';
|
||||
import { SwatchSchemeStorage } from './swatch_scheme';
|
||||
|
||||
export type Option =
|
||||
export type Option<T = string | number | null> =
|
||||
| {
|
||||
label: string;
|
||||
value: string | number | null;
|
||||
value: T;
|
||||
}
|
||||
| Record<'label' | 'value', string | number | null>;
|
||||
| Record<'label' | 'value', T>;
|
||||
|
||||
export type HarmonyColor = {
|
||||
color: string;
|
||||
|
Reference in New Issue
Block a user