Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Adding typescript support for es2018.promise (Promise.finally)

$
0
0

@eppineda wrote:

Last night I added es2018.promise to tsconfig.json and got it to build. Today, it won’t build:

typescript error
Argument for ‘–lib’ option must be: ‘es5’, ‘es6’, ‘es2015’, ‘es7’, ‘es2016’, ‘es2017’, ‘esnext’, ‘dom’,
‘dom.iterable’, ‘webworker’, ‘scripthost’, ‘es2015.core’, ‘es2015.collection’, ‘es2015.generator’,
‘es2015.iterable’, ‘es2015.promise’, ‘es2015.proxy’, ‘es2015.reflect’, ‘es2015.symbol’,
‘es2015.symbol.wellknown’, ‘es2016.array.include’, ‘es2017.object’, ‘es2017.sharedmemory’, ‘es2017.string’,
‘es2017.intl’, ‘esnext.asynciterable’.

I have no idea how I was able to pull it off before. Has anyone succeeded in using Promise.finally? Please share.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>