@visulima/string
Version:
Functions for manipulating strings.
16 lines (14 loc) • 439 B
text/typescript
declare const outdent: Outdent;
interface Outdent {
(strings: TemplateStringsArray, ...values: any[]): string;
(options: Options): Outdent;
string: (string_: string) => string;
}
interface Options {
cache?: boolean;
cacheStore?: WeakMap<TemplateStringsArray, string[]>;
newline?: string | null;
trimLeadingNewline?: boolean;
trimTrailingNewline?: boolean;
}
export { type Options, type Outdent, outdent };