AM
Могу ошибаться.
Size: a a a
AM
И
И
export interface IUiState {
hotkeysWindow: boolean;
fullScreen: boolean;
}
И
И
И
get(target, name, receiver) {
if (name === 'set') {
const set = useAction(action);
return (key, value) => set([key, value]); // as SetResultType<IUiState>;
} else {
const n = name as keyof T;
return useAtom(atom, (s) => s[n], [n]);
}
},
NS
D
D
I
I
I
a
I
I
D