Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typing): Context template type should be 'object' and not 'any'
```context?: ContextFunction<ExpressContext, any> | Context<any>;``` is ```context?: ContextFunction<ExpressContext, any> | any;``` which is ```context?: any;``` microsoft/TypeScript#18568 Since the ContextFunction<...> part is ignored, no type hinting will be provided when a function is passed to `context`. We don't really mean `any`, we mean an object with any shape, so we should use `object` instead
- Loading branch information