summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts b/tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts
index 7b009232a2..9a40544bd3 100644
--- a/tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts
+++ b/tools/node_modules/eslint/node_modules/rxjs/src/internal/symbol/rxSubscriber.ts
@@ -1,7 +1,8 @@
+/** @deprecated do not use, this is no longer checked by RxJS internals */
export const rxSubscriber =
- (typeof Symbol === 'function' && typeof Symbol.for === 'function')
- ? Symbol.for('rxSubscriber')
- : '@@rxSubscriber';
+ typeof Symbol === 'function'
+ ? Symbol('rxSubscriber')
+ : '@@rxSubscriber_' + Math.random();
/**
* @deprecated use rxSubscriber instead