From 996c9c0db36aba5406bb84e7b7da69cfabca3b51 Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 24 Nov 2017 13:07:06 +0900 Subject: [PATCH] Add Options. --- types/ejs/index.d.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/types/ejs/index.d.ts b/types/ejs/index.d.ts index 76a47ca94c..7918de773a 100644 --- a/types/ejs/index.d.ts +++ b/types/ejs/index.d.ts @@ -22,14 +22,19 @@ export function clearCache(): any; export type TemplateFunction = (data: Data) => any; export interface Options { - cache?: any; + cache?: boolean; filename?: string; + root?: string; context?: any; compileDebug?: boolean; client?: boolean; delimiter?: string; - debug?: any; + debug?: boolean; + strict?: boolean; _with?: boolean; + localsName?: string; + rmWhitespace?: boolean; + escape?(str: string): string; } export class Template { constructor(text: string, opts: Options);