zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
8 lines (7 loc) • 366 B
TypeScript
import type { Environment } from '../template/Environment';
import { TemplateResponse } from '../template/TemplateResponse';
export declare abstract class Controller {
protected templateEnvironment: Environment;
constructor(templateEnvironment: Environment);
protected render(key: string, context?: Record<string, unknown>): Promise<TemplateResponse>;
}