📌  相关文章
📜  import { Application } from "express" - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:50.787000             🧑  作者: Mango

代码示例2
import { Request, Response, Application } from 'express';

// TODO Figure out how NOT to use require here.
const express = require('express');
var app: Application = express();

app.get('/', function (req: Request, res: Response) {
  res.send('Hello World')
});

app.listen(3000);