Fix types
This commit is contained in:
parent
97e8ac1d27
commit
8bf9e87117
11 changed files with 20 additions and 20 deletions
|
|
@ -160,7 +160,7 @@ const extractPropDefRef = (props: any[]) => {
|
|||
const router = new Router();
|
||||
|
||||
router.get('/assets/*', async ctx => {
|
||||
await send(ctx, ctx.params[0], {
|
||||
await send(ctx as any, ctx.params[0], {
|
||||
root: `${__dirname}/../../docs/assets/`,
|
||||
maxage: ms('1 days')
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue