logux/core

Export `LogStore`?

Closed this issue · 1 comments

I see in logux/client, you import LogStore:

import { LogStore } from '@logux/core'

But I don't see LogStore exported here. It should be in index.js? Or am I missing something?

ai commented

It can be imported only to TS files because it is not real JS export, but just a type (technically, abstract class)

https://github.com/logux/core/blob/next/log/index.d.ts#L151