Opting into typesafe koa

This commit is contained in:
Jan Dolezel
2019-01-02 15:08:16 +01:00
parent 2b6f0e732d
commit 820145214b
+1 -1
View File
@@ -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"