parent
47a5099325
commit
e8e8124ba7
2 changed files with 3 additions and 3 deletions
|
|
@ -629,7 +629,7 @@ export function isObservable(value: unknown): value is ObservableLike {
|
|||
}
|
||||
|
||||
// eslint-disable-next-line no-use-extend-native/no-use-extend-native, @typescript-eslint/no-unsafe-call
|
||||
if (value === (value as any)[Symbol.observable]?.()) {
|
||||
if (Symbol.observable !== undefined && value === (value as any)[Symbol.observable]?.()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue