DefinitelyTyped/types/indent-string/index.d.ts
2018-12-10 23:53:11 +01:00

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;
}
}