What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-12 08:18:13
Property 'allSettled' does not exist on type 'PromiseConstructor'
/* To get this running on Linux, I needed the latest typescript version: */ npm install -g typescript@latest /* Then in your tsconfig you currently need the ES2020.Promise lib. */ { "compilerOptions": { "lib": [ "ES... Add solution -
TypeScript 2021-09-21 17:38:03
typescript get promise allsettled
/* To get this running on Linux, I needed the latest typescript version: */ npm install -g typescript@latest /* Then in your tsconfig you currently need the ES2020.Promise lib. */ { "compilerOptions": { "lib": [ "ES... Add solution