ts-stronger-types
Version:
Runtime checking of types and integrity for Typescript projects
15 lines (14 loc) • 399 B
TypeScript
export interface TypedOptions {
enable: boolean;
throwError: boolean;
checkArgumentLength: boolean;
customLogger?: (message: string) => void;
}
export declare class TypedConfig {
private static getInitialOptions;
private static options;
static reset(): void;
static set(options: TypedOptions): void;
static get(): TypedOptions;
private static parseBoolean;
}