recipe-backend/node_modules/concurrently/dist/src/utils.d.ts
2025-09-21 12:39:54 +02:00

10 lines
360 B
TypeScript

/**
* Escapes a string for use in a regular expression.
*/
export declare function escapeRegExp(str: string): string;
type CastArrayResult<T> = T extends undefined | null ? never[] : T extends unknown[] ? T : T[];
/**
* Casts a value to an array if it's not one.
*/
export declare function castArray<T = never[]>(value?: T): CastArrayResult<T>;
export {};