Envelope Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Function formatPathsWithCapturesOpt

    • Format multiple paths with captures and custom options.

      Captures come first, sorted lexicographically by name, with their name prefixed by '@'. Regular paths follow after all captures.

      Parameters

      • paths: Path[]

        The paths to format

      • captures: Map<string, Path[]>

        Map of capture name to captured paths

      • opts: FormatPathsOpts = ...

        Formatting options

      Returns string

      The formatted string