mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Improve typing for a function
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
1 file changed
+1
-1
@@ -7,7 +7,7 @@ import { v4 as getRandomId } from "uuid";
|
||||
|
||||
const getRandomIdInjectable = getInjectable({
|
||||
id: "get-random-id",
|
||||
instantiate: () => getRandomId,
|
||||
instantiate: () => () => getRandomId(),
|
||||
causesSideEffects: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user