Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
WIP: feat: strict tsconfig #60
Typescript is a bit loose in its checks, so some fields can be undefined even though their typings do not indicate that.
Every command class had to be refactored to allow the typings to work. AbstractCommand has been replaced with a couple of separate base classes & interfaces. Different for each of serializable and deserializable commands.
This makes #55 redundant, as it is enforced that the properties object is defined, and to an acceptable level.
Note: This needs some serious testing, I have not yet run it against an atem, only verified that the tests pass, so it is likely that a bunch of stuff has been broken