ЗФ
Size: a a a
ЗФ
AG
AG
AG
EO
EO
expectType<FirebaseAuthTypes.User | null>(useChange(...))
EO
AG
AG
function useChange<STORE, KEY, SLICE = STORE>(
storeSlice: (store: STORE) => SLICE | null,
key: keyof SLICE & string & KEY,
): [SLICE[typeof key], (value: SLICE[typeof key]) => void] { ...
AG
VS
expectType<FirebaseAuthTypes.User | null>(useChange(...))
EO
function useChange<STORE, KEY, SLICE = STORE>(
storeSlice: (store: STORE) => SLICE | null,
key: keyof SLICE & string & KEY,
): [SLICE[typeof key], (value: SLICE[typeof key]) => void] { ...
function useChange(storeSlice, key) {}
EO
KY
function useChange(storeSlice, key) {}
VS
EO
EO
VS
EO