mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 05:28:35 +00:00
10 lines
162 B
TypeScript
10 lines
162 B
TypeScript
export function* range(
|
|
start: number,
|
|
end: number,
|
|
): Generator<number, void, void> {
|
|
for (let i = start; i <= end; i += 1) {
|
|
yield i;
|
|
}
|
|
return;
|
|
}
|