Skip to content

Commit

Permalink
Privatize the AbstractType subclass hierarchy.
Browse files Browse the repository at this point in the history
Rather than exporting these subclasses so that gen-types.ts can analyze
them with instanceof, I would rather hide the fact that there's anything
other than AbstractType<T>, and let the subclasses implement inherited
AbstractType methods, which can then be called by gen-types.ts without any
knowledge of how those methods are implemented.
  • Loading branch information
benjamn committed Nov 28, 2018
1 parent 885b2dc commit d25435c
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 249 deletions.

0 comments on commit d25435c

Please sign in to comment.