mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
Fix error TS2497 on import * as X from 'koa-static
This commit is contained in:
2
koa-static/koa-static.d.ts
vendored
2
koa-static/koa-static.d.ts
vendored
@@ -46,6 +46,6 @@ declare module "koa-static" {
|
||||
*/
|
||||
gzip?: boolean;
|
||||
}): { (ctx: Koa.Context, next?: () => any): any };
|
||||
|
||||
namespace serve{}
|
||||
export = serve;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user