Skip to content

Commit

Permalink
chore: deprecate observable symbol export (#6545)
Browse files Browse the repository at this point in the history
resolves #6489
  • Loading branch information
benlesh committed Dec 3, 2022
1 parent af1a9f4 commit b97fa05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/internal/symbol/observable.ts
@@ -1,2 +1,7 @@
/** Symbol.observable or a string "@@observable". Used for interop */
/**
* Symbol.observable or a string "@@observable". Used for interop
*
* @deprecated We will no longer be exporting this symbol in upcoming versions of RxJS.
* Instead polyfill and use Symbol.observable directly *or* use https://www.npmjs.com/package/symbol-observable
*/
export const observable: string | symbol = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();

0 comments on commit b97fa05

Please sign in to comment.