UNPKG

@rgglez/gettext-extractor

Version:

Gettext extractor for JavaScript, TypeScript, JSX, HTML and others

6 lines (5 loc) 349 B
import { Attribute } from 'parse5'; import { JsParser } from '../../../js/parser'; import { IHtmlExtractorFunction } from '../../parser'; export declare type AttributePredicate = (attribute: Attribute) => boolean; export declare function embeddedAttributeJsExtractor(filter: RegExp | AttributePredicate, jsParser: JsParser): IHtmlExtractorFunction;