UNPKG

typed-environment-loader

Version:

typed-environment-loader is a lightweight utility for loading environment variables in a typed manner, ensuring type safety and consistency in your Node.js applications.

8 lines (7 loc) 428 B
import { Parser, ParserContext, ParserResult, Validator } from '../types'; export declare abstract class BaseParser implements Parser { protected readonly _debug: import("../debug").Logger; protected removeQuotes(value: string): string; abstract parse(context: ParserContext): ParserResult; protected runCustomValidator<Type>(validator: Validator<Type> | undefined, value: Type, context: ParserContext): void; }