@eagleoutice/flowr - v2.13.1
    Preparing search index...

    Function firstUnknownSchemaSegment

    • The first path segment the schema does not accept, with the keys that ARE accepted there and the path to that point -- or undefined when the whole path is a settable key. Used to reject typo'd config keys. A .pattern() object accepts any key (validation continues into its value schema) and an .unknown(true) object (e.g. a specializeConfig entry, which may overwrite any config key) accepts any key, so neither is reported as unknown.

      Parameters

      • description: Description
      • path: readonly string[]

      Returns
          | {
              at: readonly string[];
              available: readonly string[];
              segment: string;
          }
          | undefined