confmgr
Version:
Env. Configuration Manager
21 lines (20 loc) • 478 B
TypeScript
import { ConfigValue, Type } from './baseTypes';
export type RegexpWithAttributes = {
pattern: RegExp;
attributes: string;
};
export type ConfigItemOptions = {
masked?: boolean;
regexp?: RegExp | RegexpWithAttributes;
mandatory?: boolean;
default?: ConfigValue;
type?: Type;
};
/**
* Options you may pass to the `Print()` method.
*/
export type PrintOptions = {
color?: boolean;
compact?: boolean;
logger?: (...args: any[]) => void;
};