Fix tsc compilation with --strict
Fix tsc compilation with --strict

For libraries, it's always best to specify a return type in the TS typings
Added void return type to "on" functions
zerobias/telegram-mtproto