To replicate: clone the repo, convert to TS and replace polka with Express.
Error detail follows:
> @rollup/plugin-typescript TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '(req: SapperRequest, res: SapperResponse, next: () => void) => void' is not assignable to parameter of type 'PathParams'.
Type '(req: SapperRequest, res: SapperResponse, next: () => void) => void' is missing the following properties from type '(string | RegExp)[]': pop, push, concat, join, and 25 more.
To replicate: clone the repo, convert to TS and replace polka with Express.
Error detail follows: