Improve typing for a function

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-07-18 15:51:18 +03:00
1 parent 1797f910f2
commit 700c756bf3
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ import { v4 as getRandomId } from "uuid";
const getRandomIdInjectable = getInjectable({
id: "get-random-id",
instantiate: () => getRandomId,
instantiate: () => () => getRandomId(),
causesSideEffects: true,
});