mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-08 19:34:56 +02:00
10 lines
306 B
TypeScript
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
|