Files
dealplustech/node_modules/diff/libesm/util/string.d.ts
Kunthawat Greethong 6562a1748f fix: Fix product page syntax errors
1. Remove duplicate/broken code in product tables section
2. Fix PostCSS config for Tailwind 4
3. Add @tailwindcss/postcss dependency
4. Remove --production flag from Dockerfile (sharp required)

All fixes enable successful Docker build with favicon working.
2026-03-03 14:57:46 +07:00

18 lines
1.0 KiB
TypeScript

export declare function longestCommonPrefix(str1: string, str2: string): string;
export declare function longestCommonSuffix(str1: string, str2: string): string;
export declare function replacePrefix(string: string, oldPrefix: string, newPrefix: string): string;
export declare function replaceSuffix(string: string, oldSuffix: string, newSuffix: string): string;
export declare function removePrefix(string: string, oldPrefix: string): string;
export declare function removeSuffix(string: string, oldSuffix: string): string;
export declare function maximumOverlap(string1: string, string2: string): string;
/**
* Returns true if the string consistently uses Windows line endings.
*/
export declare function hasOnlyWinLineEndings(string: string): boolean;
/**
* Returns true if the string consistently uses Unix line endings.
*/
export declare function hasOnlyUnixLineEndings(string: string): boolean;
export declare function trailingWs(string: string): string;
export declare function leadingWs(string: string): string;
//# sourceMappingURL=string.d.ts.map