UNPKG

gettext-extractor

Version:

Gettext extractor for JavaScript, TypeScript, JSX and HTML

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