UNPKG

docxtemplater

Version:

Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line

26 lines (22 loc) 684 B
import { DXT } from "./js/docxtemplater"; interface ParserOptions { filters?: { [x: string]: (input: any, ...filters: any[]) => any }; csp?: boolean; cache?: any; literals?: { [x: string]: any }; isIdentifierStart?: (char: string) => boolean; isIdentifierContinue?: (char: string) => boolean; evaluateIdentifier?: ( tag: string, scope: any, scopeList: any[], context: DXT.ParserContext ) => any; } type Parser = { (tag: string): DXT.Parser; filters: { [x: string]: (input: any, ...filters: any[]) => any }; configure: (options: ParserOptions) => (tag: string) => DXT.Parser; }; declare var angularParser: Parser; export default angularParser;