Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by masklinn

4 years ago

That assumes all promise-generating code can be and is properly annotated, though.

3 comments

masklinn

Reply

yunyu  4 years ago

Typescript will cover this!

  • masklinn  4 years ago

    Typescript lets you call into un-annotated libraries or annotate things as `any` or whatever.

    • tekknik  4 years ago

      You can cover this with eslint: https://github.com/typescript-eslint/typescript-eslint/blob/...

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities