[REF] utils: remove id generator

This commit is contained in:
Géry Debongnie
2019-04-25 16:44:48 +02:00
parent 8f7d06a5bd
commit cf47f8459a
3 changed files with 2 additions and 25 deletions
-8
View File
@@ -27,14 +27,6 @@ export function htmlTrim(s: string): string {
return result;
}
/**
* Create a function that will generate unique id numbers
*/
export function idGenerator(): () => number {
let nextID = 1;
return () => nextID++;
}
export type HashFn = (args: any[]) => string;
export function memoize<R, T extends (...args: any[]) => R>(