Add missing cache error constructor and param annotations.
Annotate that Impromptu extends EventEmitter.
Remove reference to exports variable.
Correct cache inheritance annotations.
Make the arguments passed to caching classes explicit.
Mark _claimSetLock callback as optional.
Mark the repository options as optional.