@themost/web
Version:
MOST Web Framework 2.0 - Web Server Module
21 lines (17 loc) • 639 B
TypeScript
/**
* @license
* MOST Web Framework 2.0 Codename Blueshift
* Copyright (c) 2017, THEMOST LP All rights reserved
*
* Use of this source code is governed by an BSD-3-Clause license that can be
* found in the LICENSE file at https://themost.io/license
*/
import {HttpContext} from "../context";
import {HttpViewEngine} from "../types";
export declare class JadeEngine extends HttpViewEngine {
constructor(context: HttpContext);
context: HttpContext;
getContext(): HttpContext;
render(filename: string, data: any, callback: (err?: Error, res?: string) => void)
}
export declare function createInstance(): JadeEngine;