update ts to 4.1.2 and fix build (promise typings) (#232)

This commit is contained in:
JUX84 2020-11-24 03:21:06 +01:00 committed by GitHub
parent 37618c49eb
commit 2540b7f626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -627,6 +627,6 @@
"which": "^2.0.2"
},
"dependencies": {
"typescript": "4.0.5"
"typescript": "4.1.2"
}
}

View file

@ -11,7 +11,7 @@ import * as typeConverters from '../utils/typeConverters'
import FileConfigurationManager from './fileConfigurationManager'
import { Mutex } from '../utils/mutex'
function wait(ms: number): Promise<any> {
function wait(ms: number): Promise<void> {
return new Promise(resolve => {
setTimeout(() => {
resolve()

View file

@ -96,7 +96,7 @@ export class AtaProgressReporter {
clearTimeout(handle)
resolve()
})
})
}) as Promise<void>
this.statusItem.text = 'Fetching data for better TypeScript IntelliSense'
this.statusItem.show()
}

View file

@ -3097,10 +3097,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
typescript@4.0.5:
version "4.0.5"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz"
integrity sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==
typescript@4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.2.tgz#6369ef22516fe5e10304aae5a5c4862db55380e9"
integrity sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==
union-value@^1.0.0:
version "1.0.1"