Commit graph

5 commits

Author SHA1 Message Date
Remco Haszing
8fa3ca4252
Convert classes to factory functions
TypeScript is better at inferring types when using simple functions and
objects instead of classes. As a result many type annotations have now
been removed without impacting type safety.

Some other benefits are this can be minified better and private fields
are now truly private variables.
2021-08-19 17:06:42 +02:00
Remco Haszing
ac7b6fe307
Introduce ESLint
The ESLint preset `eslint-config-remcohaszing` is used.
2021-07-17 17:12:17 +02:00
Egor Gorbachev
766edb0be4 Fix the code to generate a proper ESM output 2019-09-19 20:57:50 +02:00
Peng Xiao
0229f023b0 test: add jest for testing 2018-12-14 18:00:45 +08:00
Peng Xiao
a0db642717 chore: align with pengx17/master branch 2018-10-25 10:12:07 +08:00