Files
documentation/node_modules/@mdx-js/mdx/lib/util/extnames-to-regex.d.ts
2024-03-22 03:47:51 +05:30

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