diff --git a/types/ejs/index.d.ts b/types/ejs/index.d.ts index 7d5e73ad8f..fc921cffb5 100644 --- a/types/ejs/index.d.ts +++ b/types/ejs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ejs 2.7 +// Type definitions for ejs 3.0 // Project: http://ejs.co/, https://github.com/mde/ejs // Definitions by: Ben Liddicott // ExE Boss @@ -149,13 +149,6 @@ export class Template { */ readonly source: string; - /** - * The compiled dependencies of this template. - * - * Always empty if legacy include directives are disabled. - */ - readonly dependencies: ReadonlyArray; - constructor(text: string, opts?: Options); /** @@ -416,18 +409,6 @@ export interface Options { */ async?: boolean; - /** - * Whether to enable legacy preprocessor include directives. - * - * @default true - * - * @example - * ```ejs - * <%- include foo %> - * ``` - */ - legacyInclude?: boolean; - /** * Name to use for the object storing local variables when not using `with` or destructuring. * diff --git a/types/ejs/test/ejs.umd.test.ts b/types/ejs/test/ejs.umd.test.ts index 74791c24a9..1ea0489956 100644 --- a/types/ejs/test/ejs.umd.test.ts +++ b/types/ejs/test/ejs.umd.test.ts @@ -1,3 +1,5 @@ +/// + /** * The `expectType` function from https://www.npmjs.com/package/tsd, * except instead of returning `void`, it returns `T`.