Skip to content

UnderscoreEngine

@tsed/engines

Usage

typescript
import { UnderscoreEngine } from "@tsed/engines";

See /packages/engines/src/types/components/UnderscoreEngine.ts.

Overview

ts
class UnderscoreEngine extends Engine {
    render(template: string, options: any): Promise<string>;
    protected $cacheOptions(template: string, options: any): any;
    protected $compile(template: string, options: any): (options: any) => Promise<string>;
}

render

ts
render(template: string, options: any): Promise<string>;

protected $cacheOptions

ts
protected $cacheOptions(template: string, options: any): any;

protected $compile

ts
protected $compile(template: string, options: any): (options: any) => Promise<string>;

Released under the MIT License.