Documentation
    Preparing search index...

    Function normalizePajaSettings

    • Validate an untrusted object of overrides (config file or browser storage). Unknown keys, wrong types, and out-of-range values are dropped, never clamped, so a typo cannot silently weaken a guard.

      Parameters

      • raw: unknown

        Untrusted input.

      • Optionalscope: PajaSettingScope

        When given, keep only settings consumed by that process.

      Returns PajaSettingsNormalization

      Accepted values and rejection reasons.

      normalizePajaSettings({ 'fs.maxWatchCount': 32 }).values; // { 'fs.maxWatchCount': 32 }