* use nanobus for the emitter typings instead of `events`, which is a bit different * add typings for `cache` option