<p dir="auto">This results in a brand new init of a React Native project template failing on <code class="notranslate">yarn tsc --noEmit -p .</code> as raised in this issue here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="876142156" data-permission-text="Title is private" data-url="https://github.com/react-native-community/react-native-template-typescript/issues/203" data-hovercard-type="issue" data-hovercard-url="/react-native-community/react-native-template-typescript/issues/203/hovercard" href="https://github.com/react-native-community/react-native-template-typescript/issues/203">react-native-community/react-native-template-typescript#203</a></p>
<p dir="auto">As of right now, the solution is to patch one of the two type libraries to remove the <code class="notranslate">AbortSignal</code> and <code class="notranslate">AbortController</code> definitions.</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/rbuckton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rbuckton">@rbuckton</a></li>
</ul>
</li>
</ul>
<p dir="auto">It seems that there is some issues with the 0.9.37 core-js package and tsc 2.2.1</p>
<p dir="auto">I get a lot of compiler errors: (just a clipout of them)<br>
node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2693: 'Map' only refers to a type, but is being used as a value here.<br>
node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2693: 'Set' only refers to a type, but is being used as a value here.<br>
node_modules/@types/core-js/index.d.ts(47,36): error TS2304: Cannot find name 'Iterable'.<br>
node_modules/@types/core-js/index.d.ts(350,48): error TS2304: Cannot find name 'PropertyKey'.<br>
node_modules/@types/core-js/index.d.ts(351,52): error TS2304: Cannot find name 'PropertyKey'.<br>
node_modules/@types/core-js/index.d.ts(352,34): error TS2304: Cannot find name 'PropertyKey'.<br>
node_modules/@types/core-js/index.d.ts(353,34): error TS2304: Cannot find name 'PropertyKey'.<br>
node_modules/@types/core-js/index.d.ts(354,34): error TS2304: Cannot find name 'PropertyKey'.<br>
node_modules/@types/core-js/index.d.ts(355,61): error TS2304: Cannot find name 'PropertyKey'.<br>
.....<br>
node_modules/@types/core-js/index.d.ts(2103,41): error TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'.<br>
node_modules/@types/core-js/index.d.ts(2107,41): error TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'.<br>
node_modules/rxjs/Observable.d.ts(69,60): error TS2693: 'Promise' only refers to a type, but is being used as a value here.<br>
node_modules/rxjs/operator/toPromise.d.ts(3,79): error TS2693: 'Promise' only refers to a type, but is being used as a value here.<br>
typescript\shared\login.component.ts(81,62): error TS2339: Property 'find' does not exist on type 'Unit[]'.<br>
typescript\shared\login.component.ts(81,62): error TS2339: Property 'find' does not exist on type 'Unit[]'.</p>
<p dir="auto">With the 0.9.35 everything works as expected.</p>
<p dir="auto">I am wondering if it is the change in ts.config from es5 to ef2017 that causes this? Can't really see that any of the other changes could have done this?</p>