@mvx/mvc
Version:
@mvx/mvc is mvc framework on server, base on koa, @tsdi frameworks
17 lines (16 loc) • 415 B
TypeScript
import { IContext } from '../IContext';
import { ResultValue } from './ResultValue';
/**
* controller method return result type of view.
* context type 'text/html'
*
* @export
* @class ViewResult
*/
export declare class ViewResult extends ResultValue {
private name;
private model?;
constructor(name: string, model?: object);
sendValue(ctx: IContext): Promise<any>;
static ρAnn(): any;
}