Chore: prefer domain list

This commit is contained in:
SukkaW
2024-05-26 18:40:03 +08:00
parent 6b0151be29
commit e4429a62ee
5 changed files with 82 additions and 47 deletions

View File

@@ -19,3 +19,5 @@ export function appendArrayInPlace<T>(dest: T[], source: T[]) {
}
return dest;
}
export const appendArrayInPlaceCurried = <T>(dest: T[]) => (source: T[]) => appendArrayInPlace(dest, source);