Skip to content

koa-router 使用通配符报错 #2

@Sukiey

Description

@Sukiey

import * as Router from 'koa-router';
const router = new Router();
router.all('*', HomeCtrl.index); // 报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions