Skip to main content

ViewEngineData

The interface IViewEngineData is used by ViewEngine to get view related data from workers.

interface IViewEngineData {

/**
* name of the view or path of view
*
* @type {string}
*/
view: string;

/**
* view model
*
* @type {*}
*/
model: any;
}