Skip to content

Commit

Permalink
Update to typescript 2.4 (angular-redux#437)
Browse files Browse the repository at this point in the history
* Update to typescript 2.4

Adapt to 2.4's stricter checks.

Also add `skipLibChecks === true` to `tsconfig.json` because Angular has it's own ts-2.4-related issues. Will remove the flag once it's fixed.

* 6.5.5 release prep
  • Loading branch information
SethDavenport authored Jul 9, 2017
1 parent 4454776 commit 093f455
Show file tree
Hide file tree
Showing 23 changed files with 524 additions and 445 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 6.5.5

* Update toolchain to typescript 2.4.
* Fix for https://github.com/angular-redux/store/issues/434.

# 6.5.4

* Fix for https://github.com/angular-redux/store/issues/427: memory leaks introduced in 6.3.0.
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/devtoolsextension.html
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ <h3>enhancer</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/dev-tools.ts#L26">src/components/dev-tools.ts:26</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/dev-tools.ts#L26">src/components/dev-tools.ts:26</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1052,7 +1052,7 @@ <h3>is<wbr>Enabled</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/dev-tools.ts#L51">src/components/dev-tools.ts:51</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/dev-tools.ts#L51">src/components/dev-tools.ts:51</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/mockdevtoolsextension.html
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ <h3>enhancer</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="devtoolsextension.html">DevToolsExtension</a>.<a href="devtoolsextension.html#enhancer">enhancer</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/dev-tools.ts#L26">src/components/dev-tools.ts:26</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/dev-tools.ts#L26">src/components/dev-tools.ts:26</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1047,7 +1047,7 @@ <h3>is<wbr>Enabled</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="devtoolsextension.html">DevToolsExtension</a>.<a href="devtoolsextension.html#isenabled">isEnabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/dev-tools.ts#L51">src/components/dev-tools.ts:51</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/dev-tools.ts#L51">src/components/dev-tools.ts:51</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
26 changes: 13 additions & 13 deletions docs/classes/mockngredux.html
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ <h3>configure<wbr>Sub<wbr>Store</h3>
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#configuresubstore">configureSubStore</a></p>
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#configuresubstore">configureSubStore</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L81">testing/ng-redux.mock.ts:81</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L81">testing/ng-redux.mock.ts:81</a></li>
</ul>
</aside>
</section>
Expand All @@ -1088,7 +1088,7 @@ <h3>dispatch</h3>
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#dispatch">dispatch</a></p>
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#dispatch">dispatch</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L84">testing/ng-redux.mock.ts:84</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L84">testing/ng-redux.mock.ts:84</a></li>
</ul>
</aside>
</section>
Expand All @@ -1100,7 +1100,7 @@ <h3>get<wbr>State</h3>
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#getstate">getState</a></p>
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#getstate">getState</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L85">testing/ng-redux.mock.ts:85</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L85">testing/ng-redux.mock.ts:85</a></li>
</ul>
</aside>
</section>
Expand All @@ -1112,7 +1112,7 @@ <h3>replace<wbr>Reducer</h3>
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#replacereducer">replaceReducer</a></p>
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#replacereducer">replaceReducer</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L87">testing/ng-redux.mock.ts:87</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L87">testing/ng-redux.mock.ts:87</a></li>
</ul>
</aside>
</section>
Expand All @@ -1124,7 +1124,7 @@ <h3>select</h3>
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#select">select</a></p>
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#select">select</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L82">testing/ng-redux.mock.ts:82</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L82">testing/ng-redux.mock.ts:82</a></li>
</ul>
</aside>
</section>
Expand All @@ -1136,7 +1136,7 @@ <h3>subscribe</h3>
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#subscribe">subscribe</a></p>
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#subscribe">subscribe</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L86">testing/ng-redux.mock.ts:86</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L86">testing/ng-redux.mock.ts:86</a></li>
</ul>
</aside>
</section>
Expand All @@ -1146,7 +1146,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-
<div class="tsd-signature tsd-kind-icon">mock<wbr>Instance<span class="tsd-signature-symbol">:</span> <a href="mockngredux.html" class="tsd-signature-type">MockNgRedux</a><span class="tsd-signature-symbol"> =&nbsp;undefined</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L22">testing/ng-redux.mock.ts:22</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L22">testing/ng-redux.mock.ts:22</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1171,7 +1171,7 @@ <h3>configure<wbr>Store</h3>
<aside class="tsd-sources">
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#configurestore">configureStore</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L75">testing/ng-redux.mock.ts:75</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L75">testing/ng-redux.mock.ts:75</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1204,7 +1204,7 @@ <h3>provide<wbr>Store</h3>
<aside class="tsd-sources">
<p>Overrides <a href="ngredux.html">NgRedux</a>.<a href="ngredux.html#providestore">provideStore</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L74">testing/ng-redux.mock.ts:74</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L74">testing/ng-redux.mock.ts:74</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1227,7 +1227,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Instance</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L69">testing/ng-redux.mock.ts:69</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L69">testing/ng-redux.mock.ts:69</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1250,7 +1250,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Selector<wbr>Stub
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L33">testing/ng-redux.mock.ts:33</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L33">testing/ng-redux.mock.ts:33</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1294,7 +1294,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Sub<wbr>Store</h3
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L51">testing/ng-redux.mock.ts:51</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L51">testing/ng-redux.mock.ts:51</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1334,7 +1334,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> reset</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/testing/ng-redux.mock.ts#L60">testing/ng-redux.mock.ts:60</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/testing/ng-redux.mock.ts#L60">testing/ng-redux.mock.ts:60</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
16 changes: 8 additions & 8 deletions docs/classes/ngredux.html
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ <h3>configure<wbr>Store</h3>
<div class="tsd-signature tsd-kind-icon">configure<wbr>Store<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L34">src/components/ng-redux.ts:34</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L34">src/components/ng-redux.ts:34</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1121,7 +1121,7 @@ <h3>configure<wbr>Sub<wbr>Store</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#configuresubstore">configureSubStore</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L62">src/components/ng-redux.ts:62</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L62">src/components/ng-redux.ts:62</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -1162,7 +1162,7 @@ <h3>dispatch</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#dispatch">dispatch</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L53">src/components/ng-redux.ts:53</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L53">src/components/ng-redux.ts:53</a></li>
</ul>
</aside>
</section>
Expand All @@ -1173,7 +1173,7 @@ <h3>get<wbr>State</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#getstate">getState</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L54">src/components/ng-redux.ts:54</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L54">src/components/ng-redux.ts:54</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -1198,7 +1198,7 @@ <h3>provide<wbr>Store</h3>
<div class="tsd-signature tsd-kind-icon">provide<wbr>Store<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L50">src/components/ng-redux.ts:50</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L50">src/components/ng-redux.ts:50</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1244,7 +1244,7 @@ <h3>replace<wbr>Reducer</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#replacereducer">replaceReducer</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L56">src/components/ng-redux.ts:56</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L56">src/components/ng-redux.ts:56</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -1276,7 +1276,7 @@ <h3>select</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#select">select</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L59">src/components/ng-redux.ts:59</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L59">src/components/ng-redux.ts:59</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -1317,7 +1317,7 @@ <h3>subscribe</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/observablestore.html">ObservableStore</a>.<a href="../interfaces/observablestore.html#subscribe">subscribe</a></p>
<ul>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/7460bee/src/components/ng-redux.ts#L55">src/components/ng-redux.ts:55</a></li>
<li>Defined in <a href="https://github.com/SethDavenport/ng2-redux/blob/bb6feaa/src/components/ng-redux.ts#L55">src/components/ng-redux.ts:55</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down
Loading

0 comments on commit 093f455

Please sign in to comment.