@types/ejs
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -34,6 +34,6 @@ // Type definitions for ejs 3.0 | ||
*/ | ||
export function compile(template: string, opts: Options & { async: true; client?: false }): AsyncTemplateFunction; | ||
export function compile(template: string, opts: Options & { async: true; client?: false | undefined }): AsyncTemplateFunction; | ||
export function compile(template: string, opts: Options & { async: true; client: true }): AsyncClientFunction; | ||
export function compile(template: string, opts?: Options & { async?: false; client?: false }): TemplateFunction; | ||
export function compile(template: string, opts?: Options & { async?: false; client: true }): ClientFunction; | ||
export function compile(template: string, opts?: Options & { async?: false | undefined; client?: false | undefined }): TemplateFunction; | ||
export function compile(template: string, opts?: Options & { async?: false | undefined; client: true }): ClientFunction; | ||
export function compile(template: string, opts?: Options): TemplateFunction | AsyncTemplateFunction; | ||
@@ -49,3 +49,3 @@ | ||
export function render(template: string, data: Data | undefined, opts: Options & { async: true }): Promise<string>; | ||
export function render(template: string, data: Data | undefined, opts: Options & { async?: never }): string; | ||
export function render(template: string, data: Data | undefined, opts: Options & { async?: never | undefined }): string; | ||
export function render(template: string, data?: Data, opts?: Options): string | Promise<string>; | ||
@@ -290,3 +290,3 @@ | ||
*/ | ||
debug?: boolean; | ||
debug?: boolean | undefined; | ||
@@ -299,3 +299,3 @@ /** | ||
*/ | ||
compileDebug?: boolean; | ||
compileDebug?: boolean | undefined; | ||
@@ -309,3 +309,3 @@ /** | ||
*/ | ||
_with?: boolean; | ||
_with?: boolean | undefined; | ||
@@ -318,3 +318,3 @@ /** | ||
*/ | ||
strict?: boolean; | ||
strict?: boolean | undefined; | ||
@@ -327,3 +327,3 @@ /** | ||
*/ | ||
destructuredLocals?: string[]; | ||
destructuredLocals?: string[] | undefined; | ||
@@ -338,3 +338,3 @@ /** | ||
*/ | ||
rmWhitespace?: boolean; | ||
rmWhitespace?: boolean | undefined; | ||
@@ -348,3 +348,3 @@ /** | ||
*/ | ||
client?: boolean; | ||
client?: boolean | undefined; | ||
@@ -357,3 +357,3 @@ /** | ||
*/ | ||
escape?: EscapeCallback; | ||
escape?: EscapeCallback | undefined; | ||
@@ -366,3 +366,3 @@ /** | ||
*/ | ||
filename?: string; | ||
filename?: string | undefined; | ||
@@ -375,3 +375,3 @@ /** | ||
*/ | ||
root?: string; | ||
root?: string | undefined; | ||
@@ -385,3 +385,3 @@ /** | ||
*/ | ||
openDelimiter?: string; | ||
openDelimiter?: string | undefined; | ||
@@ -395,3 +395,3 @@ /** | ||
*/ | ||
closeDelimiter?: string; | ||
closeDelimiter?: string | undefined; | ||
@@ -402,3 +402,3 @@ /** | ||
*/ | ||
delimiter?: string; | ||
delimiter?: string | undefined; | ||
@@ -415,3 +415,3 @@ /** | ||
*/ | ||
cache?: boolean; | ||
cache?: boolean | undefined; | ||
@@ -431,3 +431,3 @@ /** | ||
*/ | ||
async?: boolean; | ||
async?: boolean | undefined; | ||
@@ -439,3 +439,3 @@ /** | ||
*/ | ||
beautify?: boolean; | ||
beautify?: boolean | undefined; | ||
@@ -447,6 +447,6 @@ /** | ||
*/ | ||
localsName?: string; | ||
localsName?: string | undefined; | ||
/** Set to a string (e.g., 'echo' or 'print') for a function to print output inside scriptlet tags. */ | ||
outputFunctionName?: string; | ||
outputFunctionName?: string | undefined; | ||
@@ -456,3 +456,3 @@ /** | ||
*/ | ||
views?: string[]; | ||
views?: string[] | undefined; | ||
} | ||
@@ -459,0 +459,0 @@ |
{ | ||
"name": "@types/ejs", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "TypeScript definitions for ejs", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ejs", | ||
"license": "MIT", | ||
@@ -32,4 +33,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "499a9249193a07f6a7c2bc676840026e6dd0589c7b526c45d26410233e429d1d", | ||
"typeScriptVersion": "3.4" | ||
"typesPublisherContentHash": "63ea1bff6f913f198b4d9039eaa506a9bc1fee7514d4b5c45f52e68c9c6832e7", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 15 Feb 2021 21:15:22 GMT | ||
* Last updated: Tue, 06 Jul 2021 19:03:04 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `ejs` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
16652
0