REST打字稿服务 这是一个用于打字稿的轻量级基于注释的扩展。 它可以用于使用装饰器定义API。 目录 安装 该库仅适用于打字稿。 确保已安装: npm install typescript -g 要安装typescript-rest: npm install typescript-rest --save 组态 Typescript-rest需要在tsconfig.json文件中使用以下TypeScript编译选项: { "compilerOptions" : { "experimentalDecorators" : true , "emitDecoratorMetadata" : true , "target" : "es6" // or anything newer like esnext } } 基本用法 import * as express from "express" ; import { Server , Path , GET , PathParam } from "typescript-rest" ; @ Path ( "/h
2021-01-29 20:10:14 143KB api typescript rest microservice
1
里面详细的介绍了FACTS控制器的建模及其控制,以及在电力系统中的模型~非常有用
2019-12-21 20:13:14 6.77MB facts statcom sssc upfc
1