mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
/// <reference path="../koa/koa.d.ts" />
|
|
/// <reference path="koa-static.d.ts" />
|
|
|
|
import * as Koa from "koa";
|
|
import serve = require("koa-static");
|
|
|
|
const app = new Koa();
|
|
|
|
app.use(serve('.',{index:false,defer:false}));
|
|
|
|
app.listen(80) |