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:
parent
1797f910f2
commit
700c756bf3
@ -7,7 +7,7 @@ import { v4 as getRandomId } from "uuid";
|
|||||||
|
|
||||||
const getRandomIdInjectable = getInjectable({
|
const getRandomIdInjectable = getInjectable({
|
||||||
id: "get-random-id",
|
id: "get-random-id",
|
||||||
instantiate: () => getRandomId,
|
instantiate: () => () => getRandomId(),
|
||||||
causesSideEffects: true,
|
causesSideEffects: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user