1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

add type alias for Key

This commit is contained in:
Jesse Duffield
2022-03-26 15:02:32 +11:00
parent 7128d822cb
commit 98e7ec0905
5 changed files with 10 additions and 8 deletions

View File

@ -23,7 +23,7 @@ func NewClient(
git *commands.GitCommand,
contexts *context.ContextTree,
helpers *helpers.Helpers,
getKey func(string) interface{},
getKey func(string) types.Key,
) *Client {
sessionStateLoader := NewSessionStateLoader(contexts, helpers)
handlerCreator := NewHandlerCreator(c, os, git, sessionStateLoader)