We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a5099 commit e8e8124Copy full SHA for e8e8124
package.json
@@ -62,8 +62,8 @@
62
"jsdom": "^24.1.0",
63
"rxjs": "^7.8.1",
64
"tempy": "^3.1.0",
65
- "tsimp": "^2.0.11",
66
- "typescript": "^5.5.3",
+ "tsimp": "2.0.11",
+ "typescript": "5.5.3",
67
"xo": "^0.58.0",
68
"zen-observable": "^0.10.0"
69
},
source/index.ts
@@ -629,7 +629,7 @@ export function isObservable(value: unknown): value is ObservableLike {
629
}
630
631
// eslint-disable-next-line no-use-extend-native/no-use-extend-native, @typescript-eslint/no-unsafe-call
632
- if (value === (value as any)[Symbol.observable]?.()) {
+ if (Symbol.observable !== undefined && value === (value as any)[Symbol.observable]?.()) {
633
return true;
634
635
0 commit comments