UNPKG

@mdx-js/mdx

Version:
10 lines 306 B
/** * Turn a list of extnames (*with* dots) into an expression. * * @param {ReadonlyArray<string>} extnames * List of extnames. * @returns {RegExp} * Regex matching them. */ export function extnamesToRegex(extnames: ReadonlyArray<string>): RegExp; //# sourceMappingURL=extnames-to-regex.d.ts.map