fe
function f(): Promise<'hello'> { return Promise.resolve('hello'); }
const effect = createEffect({ handler: f });
const store = createStore<string>('')
.on(effect.doneData, (_, res) => {
// type of res should be 'hello'
})у меня re
s получается unknown

