mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
178 B
TypeScript
12 lines
178 B
TypeScript
import Koa = require("koa");
|
|
import json = require('koa-json');
|
|
|
|
const app = new Koa();
|
|
|
|
app.use(json({
|
|
pretty: false,
|
|
param: 'pretty',
|
|
spaces: 2
|
|
}));
|
|
|
|
app.listen(80) |