mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
19 lines
380 B
TypeScript
19 lines
380 B
TypeScript
export const NewLabelName = (v: string): string => `New label: ${v}`;
|
|
|
|
export const NewLabelValue = (v: string): string => `New value: ${v}`;
|
|
|
|
export interface OptionT {
|
|
label: string;
|
|
value: string;
|
|
}
|
|
|
|
export interface MultiValueOptionT {
|
|
label: string;
|
|
value: string[];
|
|
}
|
|
|
|
export const StringToOption = (value: string): OptionT => ({
|
|
label: value,
|
|
value: value,
|
|
});
|