danwallach / ElectionGuard-TypeScript

TypeScript implementation of ElectionGuard (subset for ballot encryption)
MIT License
8 stars 0 forks source link

TypeScript features: can we do better than get_optional wrappers & such from the Python? #10

Closed danwallach closed 2 years ago

danwallach commented 2 years ago

TypeScript has a rich type system. Can we use it and create code that's cleaner than the original Python code?

danwallach commented 2 years ago

Overloading isn't supported. TypeScript unions fully in use. Good enough.