mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 06:22:55 +08:00
11 lines
242 B
TypeScript
11 lines
242 B
TypeScript
/// <reference path="../koa/koa.d.ts" />
|
|
/// <reference path="koa-bodyparser.d.ts" />
|
|
|
|
import * as Koa from "koa";
|
|
import bodyParser = require("koa-bodyparser");
|
|
|
|
const app = new Koa();
|
|
|
|
app.use(bodyParser({ strict: false }));
|
|
|
|
app.listen(80) |