Code refactors to accomodate typescript's --no-implicit-any option

Code refactors to accomodate typescript's --no-implicit-any option
Is it possible to provide an two overloads with types specified?