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
This commit is contained in:
Glen Whitney 2022-12-19 23:50:24 +00:00
parent 29bcab1639
commit 3fa216d1f4
6 changed files with 25 additions and 20 deletions

View file

@ -5,9 +5,3 @@ export const number_type = {
}
export const zero = (a: number) => 0
declare module "../core/Dispatcher" {
interface ImplementationTypes {
zero_numbers: typeof zero
}
}