Variable ParamsParsersConst

ParamsParsers: {
    optional: {
        array: (<T>(itemParser: ParamsParser<T>) => ParamsParser<T[]>);
        boolean: ParamsParser<boolean>;
        constant: (<T>(value: T) => ParamsParser<T>);
        custom: (<T>(parse: ((value: unknown) => undefined | T)) => ParamsParser<T>);
        function: ParamsParser<Function>;
        number: ParamsParser<number>;
        object: (<O>(keyToParserMap: { [ Key in string | number | symbol]: ParamsParser<O[Key]> }) => ParamsParser<O>);
        raw: ParamsParser<unknown>;
        string: ParamsParser<string>;
    };
    required: {
        array: (<T>(itemParser: ParamsParser<T>) => ParamsParser<T[]>);
        boolean: ParamsParser<boolean>;
        constant: (<T>(value: T) => ParamsParser<T>);
        custom: (<T>(parse: ((value: unknown) => undefined | T)) => ParamsParser<T>);
        function: ParamsParser<Function>;
        number: ParamsParser<number>;
        object: (<O>(keyToParserMap: { [ Key in string | number | symbol]: ParamsParser<O[Key]> }) => ParamsParser<O>);
        raw: ParamsParser<unknown>;
        string: ParamsParser<string>;
    };
} = ...

Type declaration

Generated using TypeDoc