symbol-observable
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -0,1 +1,17 @@ | ||
<a name="1.1.0"></a> | ||
# [1.1.0](https://github.com/blesh/symbol-observable/compare/1.0.4...v1.1.0) (2017-11-28) | ||
### Bug Fixes | ||
* **TypeScript:** update TS to 2.0, fix typings ([e08474e](https://github.com/blesh/symbol-observable/commit/e08474e)), closes [#27](https://github.com/blesh/symbol-observable/issues/27) | ||
### Features | ||
* **browser:** Fully qualified import for native esm browser support (#31) ([8ae5f8e](https://github.com/blesh/symbol-observable/commit/8ae5f8e)) | ||
* **index.d.ts:** add type info to Symbol.observable ([e4be157](https://github.com/blesh/symbol-observable/commit/e4be157)) | ||
<a name="1.0.4"></a> | ||
@@ -2,0 +18,0 @@ ## [1.0.4](https://github.com/blesh/symbol-observable/compare/1.0.3...v1.0.4) (2016-10-13) |
/* global window */ | ||
import ponyfill from './ponyfill'; | ||
import ponyfill from './ponyfill.js'; | ||
@@ -4,0 +4,0 @@ var root; |
declare const observableSymbol: symbol; | ||
export default observableSymbol; | ||
declare global { | ||
export interface SymbolConstructor { | ||
readonly observable: symbol; | ||
} | ||
export const Symbol: SymbolConstructor; | ||
} | ||
export interface Symbol { | ||
readonly [Symbol.observable]: symbol; | ||
} |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var _ponyfill = require('./ponyfill'); | ||
var _ponyfill = require('./ponyfill.js'); | ||
@@ -10,0 +10,0 @@ var _ponyfill2 = _interopRequireDefault(_ponyfill); |
{ | ||
"name": "symbol-observable", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "Symbol.observable ponyfill", | ||
@@ -45,4 +45,4 @@ "license": "MIT", | ||
"mocha": "^2.4.5", | ||
"typescript": "^1.8.10" | ||
"typescript": "^2.1.4" | ||
} | ||
} |
9648
82