UNPKG

@syncfusion/ej2-base

Version:

A common package of Essential JS 2 base libraries, methods and class definitions

22 lines (21 loc) 652 B
/** * Template Engine */ /** * The function to set regular expression for template expression string. * * @param {RegExp} value - Value expression. * @returns {RegExp} ? * @private */ export declare function expression(value?: RegExp): RegExp; /** * Compile the template string into template function. * * @param {string | Function} template - The template string which is going to convert. * @param {Object} helper - Helper functions as an object. * @param {boolean} ignorePrefix ? * @returns {string} ? * @private */ export declare function compile(template: string | Function, helper?: Object, ignorePrefix?: boolean): () => string;