update ts to 4.1.2 and fix build (promise typings) (#232)
This commit is contained in:
parent
37618c49eb
commit
2540b7f626
4 changed files with 7 additions and 7 deletions
|
@ -627,6 +627,6 @@
|
|||
"which": "^2.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"typescript": "4.0.5"
|
||||
"typescript": "4.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue