mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
8 lines
155 B
TypeScript
8 lines
155 B
TypeScript
import * as Koa from "koa";
|
|
import bodyParser = require("koa-bodyparser");
|
|
|
|
const app = new Koa();
|
|
|
|
app.use(bodyParser({ strict: false }));
|
|
|
|
app.listen(80) |