Skip to content

Commit

Permalink
Fix wrong types in set and update (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siegrift authored Nov 3, 2019
1 parent b607ca2 commit a52354a
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 51 deletions.
34 changes: 17 additions & 17 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -2597,7 +2597,7 @@ <h3>Nullable</h3>
<div class="tsd-signature tsd-kind-icon">Nullable&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/types.ts#L1">types.ts:1</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/types.ts#L1">types.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -2613,7 +2613,7 @@ <h3>Optional</h3>
<div class="tsd-signature tsd-kind-icon">Optional&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/types.ts#L5">types.ts:5</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/types.ts#L5">types.ts:5</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -2629,7 +2629,7 @@ <h3>Undefinable</h3>
<div class="tsd-signature tsd-kind-icon">Undefinable&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/types.ts#L3">types.ts:3</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/types.ts#L3">types.ts:3</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -2645,7 +2645,7 @@ <h3>Unwrap<wbr>Optional</h3>
<div class="tsd-signature tsd-kind-icon">Unwrap<wbr>Optional&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/types.ts#L13">types.ts:13</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/types.ts#L13">types.ts:13</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -2661,7 +2661,7 @@ <h3>Without</h3>
<div class="tsd-signature tsd-kind-icon">Without&lt;T, K&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Without&lt;T, K&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/types.ts#L7">types.ts:7</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/types.ts#L7">types.ts:7</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -2683,7 +2683,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> exist</h3>
<div class="tsd-signature tsd-kind-icon">exist<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ExistFn</span><span class="tsd-signature-symbol"> =&nbsp;existImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/exist.ts#L69">lib/exist.ts:69</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/exist.ts#L69">lib/exist.ts:69</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2712,7 +2712,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> filter</h3>
<div class="tsd-signature tsd-kind-icon">filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FilterFn</span><span class="tsd-signature-symbol"> =&nbsp;filterImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/filter.ts#L70">lib/filter.ts:70</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/filter.ts#L70">lib/filter.ts:70</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2743,7 +2743,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> get</h3>
<div class="tsd-signature tsd-kind-icon">get<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GetFn</span><span class="tsd-signature-symbol"> =&nbsp;getImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/get.ts#L156">lib/get.ts:156</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/get.ts#L156">lib/get.ts:156</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2779,7 +2779,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> map</h3>
<div class="tsd-signature tsd-kind-icon">map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapFn</span><span class="tsd-signature-symbol"> =&nbsp;mapImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/map.ts#L76">lib/map.ts:76</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/map.ts#L76">lib/map.ts:76</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2812,7 +2812,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> omit</h3>
<div class="tsd-signature tsd-kind-icon">omit<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">OmitFn</span><span class="tsd-signature-symbol"> =&nbsp;omitImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/omit.ts#L54">lib/omit.ts:54</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/omit.ts#L54">lib/omit.ts:54</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2844,7 +2844,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> pick</h3>
<div class="tsd-signature tsd-kind-icon">pick<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PickFn</span><span class="tsd-signature-symbol"> =&nbsp;pickImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/pick.ts#L50">lib/pick.ts:50</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/pick.ts#L50">lib/pick.ts:50</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2876,7 +2876,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> set</h3>
<div class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SetFn</span><span class="tsd-signature-symbol"> =&nbsp;setImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/set.ts#L138">lib/set.ts:138</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/set.ts#L140">lib/set.ts:140</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2912,7 +2912,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> unset</h3>
<div class="tsd-signature tsd-kind-icon">unset<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UnsetFn</span><span class="tsd-signature-symbol"> =&nbsp;unsetImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/unset.ts#L208">lib/unset.ts:208</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/unset.ts#L208">lib/unset.ts:208</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2943,7 +2943,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> update</h3>
<div class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UpdateFn</span><span class="tsd-signature-symbol"> =&nbsp;updateImplementation</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/lib/update.ts#L191">lib/update.ts:191</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/lib/update.ts#L195">lib/update.ts:195</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2985,7 +2985,7 @@ <h3>is<wbr>Null<wbr>OrUndefined</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/utils.ts#L1">utils.ts:1</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/utils.ts#L1">utils.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -3008,7 +3008,7 @@ <h3>is<wbr>Object</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/utils.ts#L5">utils.ts:5</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/utils.ts#L5">utils.ts:5</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -3031,7 +3031,7 @@ <h3>shallow<wbr>Copy</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/1ec185a/src/utils.ts#L10">utils.ts:10</a></li>
<li>Defined in <a href="https://github.com/Siegrift/tsfunct/blob/422365c/src/utils.ts#L10">utils.ts:10</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit a52354a

Please sign in to comment.