Commit Graph

4 Commits

Author SHA1 Message Date
Glen Whitney 7db6f38a30 refactor: Specify implementation types directly
Rather than speficying return types as a type transformation from
  parameter types, assume that all the type info can be
  inferred from the first parameter, and directly specify the
  implementation types. Vastly simplifies the declaration of
  implementation types.
2022-12-27 17:55:17 -05:00
Glen Whitney 1eb73be2fa refactor: entirely new scheme for specifying return types 2022-12-21 00:18:42 -05:00
Glen Whitney 3fa216d1f4 refactor: Major simplification in providing implementation types (#2)
This PR is an effort to address #1. It removes all boilerplate
  from individual implementation files, and moves it into
  a small, fixed section in the single `all.ts` module for each
  type that collects up all of the implementations relating
  to that type.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #2
2022-12-19 23:50:24 +00:00
Glen Whitney ccc6153786 feat: TypeScript typings for Dispatcher implementations
A first pass at specifying some implementations in TypeScript
  that actually compiles. It doesn't do anything, as installing
  types and operation specifications are currently dummy operations,
  but they are all invoked.
2022-12-06 20:21:05 -05:00