<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the <code class="notranslate">@types/lodash</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
</ul>
<p dir="auto">The following are the errors I get when doing a rebuild</p>
<p dir="auto">/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(244,13): error TS2300: Duplicate identifier '<em>'.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(248,19): error TS2300: Duplicate identifier '</em>'.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,21): error TS1005: ']' expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,22): error TS1005: ';' expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,23): error TS1128: Declaration or statement expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,33): error TS1005: ']' expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,34): error TS1005: ')' expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,35): error TS1128: Declaration or statement expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(11451,37): error TS1128: Declaration or statement expected.<br>
/Users/amalla/workspace/sparqapp/node_modules/@types/lodash/index.d.ts(19448,1): error TS1128: Declaration or statement expected.</p>
<p dir="auto"><code class="notranslate">lowdb-tests</code> are failing on master, probably due to a typescript change. It looks like the <code class="notranslate">If&lt;...&gt;</code> types no longer work properly.</p>
<p dir="auto">The good news is, in TS2.8 we can use conditional types, which do the same thing in a much more reliable way. I can make a PR for this, but I want to make sure we're OK with dropping support for TS 2.6-2.7.</p>
<p dir="auto">I think it's worth dropping support because the types are very broken in TS2.8 right now. Anyone using TS 2.6 can still install <code class="notranslate">@types/lowdb@ts2.6</code> to pin to the older version.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.  (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/typicode/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/typicode">@typicode</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/niieani/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/niieani">@niieani</a></li>
</ul>
</li>
</ul>