mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Opting into typesafe koa
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Koa = require("koa");
|
||||
import Router = require("koa-router");
|
||||
|
||||
const app = new Koa();
|
||||
const app = new Koa<{}, {}>();
|
||||
|
||||
const router = new Router({
|
||||
prefix: "/users"
|
||||
|
||||
Reference in New Issue
Block a user