forked from mystiq/hydrogen-web
add comment
This commit is contained in:
parent
92dcc6c980
commit
dd71fdbe08
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ export function eventId(i: number): string {
|
|||
return `$event${i}`;
|
||||
}
|
||||
|
||||
/** `from` is included, `to` is excluded */
|
||||
export function eventIds(from: number, to: number): string[] {
|
||||
return [...Array(to-from).keys()].map(i => eventId(i + from));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue