faker-api
Version:
A fully customizible rest api faking package that allows you to mock , clone and fake Rest API with fake yet realistic data
15 lines • 497 B
TypeScript
import { Request } from "express";
import { ParamsType } from "../core/";
/**
* The abstract class from which custom Transformers can be created from by extending it
*/
declare abstract class Transformer {
/**
*
* @param request An Express Request object of the current request
* @param params The extracted paramters of the request path
*/
abstract transform(request?: Request, params?: ParamsType): any;
}
export { Transformer };
//# sourceMappingURL=index.d.ts.map