Opting into typesafe koa

This commit is contained in:
Jan Dolezel
2019-01-02 15:06:56 +01:00
parent 2b6f0e732d
commit 820145214b

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"