Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
18
Frontend-Learner/node_modules/diff/libcjs/util/string.d.ts
generated
vendored
Normal file
18
Frontend-Learner/node_modules/diff/libcjs/util/string.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue