koajs / joi-router

Configurable, input and output validated routing for koa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript error

jasonlewicki opened this issue · comments

Not sure which repo this goes in:

node_modules/@types/koa-joi-router/index.d.ts:29:53 - error TS2694: Namespace 'Application' has no exported member 'Next'.

29     type FullHandler = (ctx: Koa.Context, next: Koa.Next) => any;
                                               ~~~~


Found 1 error.

@jasonlewicki, this error comes from@types/koa-joi-router due to not be use the right type of handler. You can find the right type here.