Variable ZCommentMeasuredContentItemConst
ZCommentMeasuredContentItem: UnionSchema<(ObjectSchema<{
char: StringSchema<string>;
charWidth: NumberSchema<number>;
count: NumberSchema<number>;
font: OptionalSchema<UnionSchema<(LiteralSchema<"defont", "defont"> | LiteralSchema<"gulim", "gulim"> | LiteralSchema<"simsun", "simsun">)[], "defont" | "gulim" | "simsun">, undefined, undefined | "defont" | "gulim" | "simsun">;
isButton: OptionalSchema<BooleanSchema<boolean>, undefined, undefined | boolean>;
type: LiteralSchema<"spacer", "spacer">;
}, undefined, {
char: string;
charWidth: number;
count: number;
font?: "defont" | "gulim" | "simsun";
isButton?: boolean;
type: "spacer";
}> | IntersectSchema<[UnionSchema<(ObjectSchema<{
char: StringSchema<(...)>;
charWidth: NumberSchema<(...)>;
count: NumberSchema<(...)>;
font: OptionalSchema<(...), (...), (...)>;
isButton: OptionalSchema<(...), (...), (...)>;
type: LiteralSchema<(...), (...)>;
}, undefined, {
char: string;
charWidth: number;
count: number;
font?: (...) | (...) | (...) | (...);
isButton?: (...) | (...) | (...);
type: "spacer";
}> | ObjectSchema<{
content: StringSchema<(...)>;
font: OptionalSchema<(...), (...), (...)>;
isButton: OptionalSchema<(...), (...), (...)>;
slicedContent: ArraySchema<(...), (...)>;
type: LiteralSchema<(...), (...)>;
width: OptionalSchema<(...), (...), (...)>;
}, undefined, {
content: string;
font?: (...) | (...) | (...) | (...);
isButton?: (...) | (...) | (...);
slicedContent: (...)[];
type: "text";
width?: (...) | (...);
}>)[], {
char: string;
charWidth: number;
count: number;
font?: "defont" | "gulim" | "simsun";
isButton?: boolean;
type: "spacer";
} | {
content: string;
font?: "defont" | "gulim" | "simsun";
isButton?: boolean;
slicedContent: string[];
type: "text";
width?: number[];
}>, ObjectSchema<{
width: ArraySchema<NumberSchema<number>, number[]>;
}, undefined, {
width: number[];
}>], ({
char: string;
charWidth: number;
count: number;
font?: "defont" | "gulim" | "simsun";
isButton?: boolean;
type: "spacer";
} | {
content: string;
font?: "defont" | "gulim" | "simsun";
isButton?: boolean;
slicedContent: string[];
type: "text";
width?: number[];
}) & {
width: number[];
}>)[], {
char: string;
charWidth: number;
count: number;
font?: "defont" | "gulim" | "simsun";
isButton?: boolean;
type: "spacer";
} | (({ type: "spacer"; char: string; charWidth: number; count: number; font?: "defont" | "gulim" | "simsun" | undefined; isButton?: boolean | undefined; } | { type: "text"; content: string; slicedContent: string[]; width?: number[] | undefined; font?: "defont" | ... 2 more ... | undefined; isButton?: boolean | undefined...)> = ...