Hi I am newbie in typesript and while I reading redux source code pieces I found the issue and search a lot of stuff and can not track its tail.
declare global {
interface SymbolConstructor {
readonly observable: symbol
}
}
const $$observable = /* #__PURE__ */ (() =>
(typeof Symbol === 'function' && Symbol.observable) || '@@observable')()
export default $$observable
To clarify its complexity this is the link of code:https://github.com/reduxjs/redux/blob/master/src/utils/symbol-observable.ts