UNPKG

@tsed/common

Version:
27 lines (26 loc) 996 B
import { Env } from "@tsed/core"; import { PlatformViewsEngineOptions, PlatformViewsExtensionsTypes, PlatformViewsSupportedEngines } from "../../config/interfaces/PlatformViewsSettings"; /** * @platform */ export declare class PlatformViews { env: Env; readonly root: string; readonly cache: boolean; readonly viewEngine: string; readonly consolidate: any; protected extensions: PlatformViewsExtensionsTypes; protected extensionsMap: Map<string, PlatformViewsSupportedEngines>; protected engineOptions: PlatformViewsEngineOptions; $onInit(): void; loadEngineRequires(): void[]; getExtensions(): Map<string, PlatformViewsSupportedEngines>; getEngines(): { extension: string; engine: any; }[]; getEngine(engineType: PlatformViewsSupportedEngines): any; getEngineOptions(engineType: PlatformViewsSupportedEngines): any; render(viewPath: string, options?: any): any; protected resolve(viewPath: string): string; }