express-annotations:使用打字稿表达注释

时间:2021-05-19 05:46:44
【文件属性】:
文件名称:express-annotations:使用打字稿表达注释
文件大小:19KB
文件格式:ZIP
更新时间:2021-05-19 05:46:44
TypeScript 表达注释 使用打字稿表达注释 装置 npm install --save express_annotations 如何使用它 使用AbstractExpressServer 您只需要扩展AbstractExpressServer import { AbstractExpressServer } from "express_annotations/dist/AbstractExpressServer" ; import * as bodyParser from "body-parser" ; export class Server extends AbstractExpressServer { // This method is called from the abstract class // to allow you to add custom use as bod
【文件预览】:
express-annotations-master
----.gitignore(918B)
----package.json(491B)
----src()
--------AbstractExpressServer.ts(2KB)
--------ExpressAnnotations.ts(9KB)
----dist()
--------AbstractExpressServer.d.ts(544B)
--------AbstractExpressServer.js(2KB)
--------ExpressAnnotations.js(9KB)
--------ExpressAnnotations.d.ts(2KB)
----LICENSE(11KB)
----index.js(100B)
----tsconfig.json(276B)
----README.md(9KB)
----example()
--------tsconfig.json(187B)
--------Server.ts(751B)
--------bin.ts(171B)
--------controllers()

网友评论