@mdx-js/mdx
Version:
MDX compiler
10 lines • 306 B
TypeScript
/**
* 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