Skip to content

Take passed arguments into account when resolving inside function

Latest
Compare
Choose a tag to compare
@klesun klesun released this 26 Dec 13:15
· 232 commits to master since this release
  • Optimize: do not scan lenghty built-in d.ts files for var usages
  • Provide private func usage based arg completion
  • Support completion from jsdoc type. Like `@parm {ITokenInfo}` tokenInfo
  • Provide prop completion on anon func arg based on what is passed to this func later
  • Infer type of `new Promise(resolve => ... resolve(value) ...)`
  • Do not shy to override built-in _guessed_ completion even when only typed completion is on
  • Keep passed arguments into account when resolving function return type
  • Infer however many keys in an assignment
  • Allow referencing vars from top-level scope in docs. Imported modules for example
  • Support await