Update docs, tweak url based event derivation

This commit is contained in:
Jon Staab
2025-11-20 15:08:59 -08:00
parent 6d36f5a912
commit 2fec078a5b
12 changed files with 154 additions and 317 deletions
+1 -1
View File
@@ -634,7 +634,7 @@ export const sort = <T>(xs: T[]) => [...xs].sort()
* @param xs - Array to sort
* @returns Sorted array
*/
export const sortBy = <T>(f: (x: T) => any, xs: T[]) =>
export const sortBy = <T>(f: (x: T) => any, xs: Iterable<T>) =>
[...xs].sort((a: T, b: T) => {
const x = f(a)
const y = f(b)