keep-a-changelog
Version:
Node package to parse and generate changelogs following the [keepachangelog](https://keepachangelog.com/) format.
18 lines • 534 B
TypeScript
import type { Range } from "./types.js";
/**
* Formats the SemVerrange into a string.
*
* @example Usage
* ```ts
* import { formatRange, parseRange } from "@std/semver";
* import { assertEquals } from "@std/assert";
*
* const range = parseRange(">=1.2.3 <1.2.4");
* assertEquals(formatRange(range), ">=1.2.3 <1.2.4");
* ```
*
* @param range The range to format
* @returns A string representation of the SemVer range
*/
export declare function formatRange(range: Range): string;
//# sourceMappingURL=format_range.d.ts.map