@maschinenlesbar.org/reisewarnungen-cli
    Preparing search index...

    Function assertKnownKeys

    • Check that options is a plain options object (or undefined) whose keys are all in known, and throw a ReiseValidationError otherwise. A JavaScript caller's typo (warnedonly for warnedOnly, timeout for timeoutMs) was ignored silently and the default applied; TypeScript catches it at compile time, JavaScript does not. A key set to undefined changes nothing and passes. __proto__ and constructor are never option names.

      Parameters

      • name: string
      • options: unknown
      • known: readonly string[]

      Returns void