mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
580 B
TypeScript
21 lines
580 B
TypeScript
// Type definitions for indent-string 3.2
|
|
// Project: https://github.com/sindresorhus/indent-string#readme
|
|
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
|
|
// BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = indentString;
|
|
|
|
declare function indentString(
|
|
str: string,
|
|
count?: number,
|
|
indent?: string | indentString.Options
|
|
): string;
|
|
|
|
declare namespace indentString {
|
|
interface Options {
|
|
indent?: string;
|
|
includeEmptyLines?: boolean;
|
|
}
|
|
}
|