1
0
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:
Janne Savolainen 2022-07-18 15:02:01 +03:00
parent 1797f910f2
commit 700c756bf3
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -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,
}); });