Home > @wixc3/common > equalIdents
Matches the indentation of modified to the one of reference
Signature:
export declare function equalIdents(reference: string, modified: string, newline?: string): string;
| Parameter | Type | Description |
|---|---|---|
| reference | string | |
| modified | string | |
| newline | string | _(Optional)_ |
Returns:
string