symbol-observable
Advanced tools
Comparing version 2.0.3 to 3.0.0
@@ -0,1 +1,16 @@ | ||
# [3.0.0](https://github.com/blesh/symbol-observable/compare/2.0.3...3.0.0) (2020-11-02) | ||
### Bug Fixes | ||
* **TypeScript:** `Symbol.observable` is now `unique symbol`. ([2ef1476](https://github.com/blesh/symbol-observable/commit/2ef147644cf78538b28c3fd9e66a3b8d569a1978)), closes [#41](https://github.com/blesh/symbol-observable/issues/41) | ||
* **TypeScript:** `Symbol[Symbol.observable]` is no longer incorrectly defined ([fe4301f](https://github.com/blesh/symbol-observable/commit/fe4301f37b54162e1a2db91e79c5b33d652496f1)) | ||
### BREAKING CHANGES | ||
* **TypeScript:** Older versions of `@types/node` will clash with this, because `@types/node` incorrectly defined `Symbol.observable` has `symbol` and not `unique symbol`. Update to `@types/node@14.14.6` or higher. | ||
## [2.0.3](https://github.com/blesh/symbol-observable/compare/2.0.2...2.0.3) (2020-09-30) | ||
@@ -2,0 +17,0 @@ |
@@ -6,8 +6,4 @@ declare const observableSymbol: symbol; | ||
export interface SymbolConstructor { | ||
readonly observable: symbol; | ||
readonly observable: unique symbol; | ||
} | ||
} | ||
export interface Symbol { | ||
readonly [Symbol.observable]: symbol; | ||
} |
{ | ||
"name": "symbol-observable", | ||
"version": "2.0.3", | ||
"version": "3.0.0", | ||
"description": "Symbol.observable ponyfill", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
"mocha": "^2.4.5", | ||
"typescript": "^2.1.4" | ||
"typescript": "^4.0.5" | ||
}, | ||
@@ -48,0 +48,0 @@ "engines": { |
14698
99