weixin_39554170 2020-11-29 17:57
浏览 0

WIP: TypeScript typings

This PR tracks the work on TypeScript typings (#65). These will work with Folktale 2.x. There's a separate branch to rewrite Folktale in TypeScript (#115). That'll be a breaking change (using ES6 modules), and thus a new major version. TypeScript in Folktale will likely be released early 2018.

Current status

v3.0.1-ts is available on the tstypes channel: npm install folktale

  • [ ] adt (note that adt fundamentally can't have useful types)
  • [X] concurrency
  • [X] conversions
  • [/] core (missing curry & partialize)
  • [ ] fantasy-land
  • [/] maybe
  • [/] result
  • [/] validation

[/] indicates partial support, [X] indicates full support.

该提问来源于开源项目:origamitower/folktale

  • 写回答

5条回答 默认 最新

  • weixin_39554170 2020-11-29 17:57
    关注

    Well, overloaded functions on arrays will have to be replaced by static arity functions. Too many silent type errors from TypeScript otherwise :/

    评论

报告相同问题?